@@ -3,7 +3,7 @@ package lineup
33// This is an auto-generated file. Do not change it manually. Run the generator to update the file.
44// See https://github.com/exercism/go#synchronizing-tests-and-instructions
55// Source: exercism/problem-specifications
6- // Commit: 25c2ae5 build(deps): bump fast-uri from 3.1.0 to 3.1.2 (#2653 )
6+ // Commit: 03f8331 line-up: add test cases for ordinal numbers that are multiples of 11/12/13 and update the descriptions (#2672 )
77
88type testCase struct {
99 description string
@@ -97,12 +97,42 @@ var testCases = []testCase{
9797 number : 21 ,
9898 expected : "Washi, you are the 21st customer we serve today. Thank you!" ,
9999 },
100+ {
101+ description : "format exceptional ordinal numeral 22 ending in nd even though it is a multiple of 11" ,
102+ name : "Ingrid" ,
103+ number : 22 ,
104+ expected : "Ingrid, you are the 22nd customer we serve today. Thank you!" ,
105+ },
106+ {
107+ description : "format exceptional ordinal numeral 33 ending in rd even though it is a multiple of 11" ,
108+ name : "Mario" ,
109+ number : 33 ,
110+ expected : "Mario, you are the 33rd customer we serve today. Thank you!" ,
111+ },
112+ {
113+ description : "format exceptional ordinal numeral 52 ending in nd even though it is a multiple of 13" ,
114+ name : "Quentin" ,
115+ number : 52 ,
116+ expected : "Quentin, you are the 52nd customer we serve today. Thank you!" ,
117+ },
100118 {
101119 description : "format exceptional ordinal numeral 62" ,
102120 name : "Nayra" ,
103121 number : 62 ,
104122 expected : "Nayra, you are the 62nd customer we serve today. Thank you!" ,
105123 },
124+ {
125+ description : "format non-exceptional ordinal numeral 72 ending in nd even though it is a multiple of 12" ,
126+ name : "Ugo" ,
127+ number : 72 ,
128+ expected : "Ugo, you are the 72nd customer we serve today. Thank you!" ,
129+ },
130+ {
131+ description : "format exceptional ordinal numeral 91 ending in st even though it is a multiple of 13" ,
132+ name : "Boris" ,
133+ number : 91 ,
134+ expected : "Boris, you are the 91st customer we serve today. Thank you!" ,
135+ },
106136 {
107137 description : "format exceptional ordinal numeral 100" ,
108138 name : "John" ,
@@ -127,4 +157,10 @@ var testCases = []testCase{
127157 number : 123 ,
128158 expected : "Yma, you are the 123rd customer we serve today. Thank you!" ,
129159 },
160+ {
161+ description : "format large number 972 ending in nd even though it is a multiple of 12" ,
162+ name : "Elias" ,
163+ number : 972 ,
164+ expected : "Elias, you are the 972nd customer we serve today. Thank you!" ,
165+ },
130166}
0 commit comments