|
| 1 | + |
| 2 | +Execute (format smallest non-exceptional ordinal numeral 4): |
| 3 | + let g:name = "Gianna" |
| 4 | + let g:number = 4 |
| 5 | + let g:expected = "Gianna, you are the 4th customer we serve today. Thank you!" |
| 6 | + AssertEqual g:expected, Format(g:name, g:number) |
| 7 | + |
| 8 | +Execute (format greatest single digit non-exceptional ordinal numeral 9): |
| 9 | + let g:name = "Maarten" |
| 10 | + let g:number = 9 |
| 11 | + let g:expected = "Maarten, you are the 9th customer we serve today. Thank you!" |
| 12 | + AssertEqual g:expected, Format(g:name, g:number) |
| 13 | + |
| 14 | +Execute (format non-exceptional ordinal numeral 5): |
| 15 | + let g:name = "Petronila" |
| 16 | + let g:number = 5 |
| 17 | + let g:expected = "Petronila, you are the 5th customer we serve today. Thank you!" |
| 18 | + AssertEqual g:expected, Format(g:name, g:number) |
| 19 | + |
| 20 | +Execute (format non-exceptional ordinal numeral 6): |
| 21 | + let g:name = "Attakullakulla" |
| 22 | + let g:number = 6 |
| 23 | + let g:expected = "Attakullakulla, you are the 6th customer we serve today. Thank you!" |
| 24 | + AssertEqual g:expected, Format(g:name, g:number) |
| 25 | + |
| 26 | +Execute (format non-exceptional ordinal numeral 7): |
| 27 | + let g:name = "Kate" |
| 28 | + let g:number = 7 |
| 29 | + let g:expected = "Kate, you are the 7th customer we serve today. Thank you!" |
| 30 | + AssertEqual g:expected, Format(g:name, g:number) |
| 31 | + |
| 32 | +Execute (format non-exceptional ordinal numeral 8): |
| 33 | + let g:name = "Maximiliano" |
| 34 | + let g:number = 8 |
| 35 | + let g:expected = "Maximiliano, you are the 8th customer we serve today. Thank you!" |
| 36 | + AssertEqual g:expected, Format(g:name, g:number) |
| 37 | + |
| 38 | +Execute (format exceptional ordinal numeral 1): |
| 39 | + let g:name = "Mary" |
| 40 | + let g:number = 1 |
| 41 | + let g:expected = "Mary, you are the 1st customer we serve today. Thank you!" |
| 42 | + AssertEqual g:expected, Format(g:name, g:number) |
| 43 | + |
| 44 | +Execute (format exceptional ordinal numeral 2): |
| 45 | + let g:name = "Haruto" |
| 46 | + let g:number = 2 |
| 47 | + let g:expected = "Haruto, you are the 2nd customer we serve today. Thank you!" |
| 48 | + AssertEqual g:expected, Format(g:name, g:number) |
| 49 | + |
| 50 | +Execute (format exceptional ordinal numeral 3): |
| 51 | + let g:name = "Henriette" |
| 52 | + let g:number = 3 |
| 53 | + let g:expected = "Henriette, you are the 3rd customer we serve today. Thank you!" |
| 54 | + AssertEqual g:expected, Format(g:name, g:number) |
| 55 | + |
| 56 | +Execute (format smallest two digit non-exceptional ordinal numeral 10): |
| 57 | + let g:name = "Alvarez" |
| 58 | + let g:number = 10 |
| 59 | + let g:expected = "Alvarez, you are the 10th customer we serve today. Thank you!" |
| 60 | + AssertEqual g:expected, Format(g:name, g:number) |
| 61 | + |
| 62 | +Execute (format non-exceptional ordinal numeral 11): |
| 63 | + let g:name = "Jacqueline" |
| 64 | + let g:number = 11 |
| 65 | + let g:expected = "Jacqueline, you are the 11th customer we serve today. Thank you!" |
| 66 | + AssertEqual g:expected, Format(g:name, g:number) |
| 67 | + |
| 68 | +Execute (format non-exceptional ordinal numeral 12): |
| 69 | + let g:name = "Juan" |
| 70 | + let g:number = 12 |
| 71 | + let g:expected = "Juan, you are the 12th customer we serve today. Thank you!" |
| 72 | + AssertEqual g:expected, Format(g:name, g:number) |
| 73 | + |
| 74 | +Execute (format non-exceptional ordinal numeral 13): |
| 75 | + let g:name = "Patricia" |
| 76 | + let g:number = 13 |
| 77 | + let g:expected = "Patricia, you are the 13th customer we serve today. Thank you!" |
| 78 | + AssertEqual g:expected, Format(g:name, g:number) |
| 79 | + |
| 80 | +Execute (format exceptional ordinal numeral 21): |
| 81 | + let g:name = "Washi" |
| 82 | + let g:number = 21 |
| 83 | + let g:expected = "Washi, you are the 21st customer we serve today. Thank you!" |
| 84 | + AssertEqual g:expected, Format(g:name, g:number) |
| 85 | + |
| 86 | +Execute (format exceptional ordinal numeral 62): |
| 87 | + let g:name = "Nayra" |
| 88 | + let g:number = 62 |
| 89 | + let g:expected = "Nayra, you are the 62nd customer we serve today. Thank you!" |
| 90 | + AssertEqual g:expected, Format(g:name, g:number) |
| 91 | + |
| 92 | +Execute (format exceptional ordinal numeral 100): |
| 93 | + let g:name = "John" |
| 94 | + let g:number = 100 |
| 95 | + let g:expected = "John, you are the 100th customer we serve today. Thank you!" |
| 96 | + AssertEqual g:expected, Format(g:name, g:number) |
| 97 | + |
| 98 | +Execute (format exceptional ordinal numeral 101): |
| 99 | + let g:name = "Zeinab" |
| 100 | + let g:number = 101 |
| 101 | + let g:expected = "Zeinab, you are the 101st customer we serve today. Thank you!" |
| 102 | + AssertEqual g:expected, Format(g:name, g:number) |
| 103 | + |
| 104 | +Execute (format non-exceptional ordinal numeral 112): |
| 105 | + let g:name = "Knud" |
| 106 | + let g:number = 112 |
| 107 | + let g:expected = "Knud, you are the 112th customer we serve today. Thank you!" |
| 108 | + AssertEqual g:expected, Format(g:name, g:number) |
| 109 | + |
| 110 | +Execute (format exceptional ordinal numeral 123): |
| 111 | + let g:name = "Yma" |
| 112 | + let g:number = 123 |
| 113 | + let g:expected = "Yma, you are the 123rd customer we serve today. Thank you!" |
| 114 | + AssertEqual g:expected, Format(g:name, g:number) |
0 commit comments