@@ -16,7 +16,7 @@ func TestBmBoDzHnjIdIgIiInJaJboJvJwKdeKeaKmKoLktLoMsMyNqoOsaRootSahSesSgSuThToTp
1616 }
1717}
1818
19- func TestAmAsBnDoiFaGuHiKnPcmZu (t * testing.T ) {
19+ func TestAmAsBnDoiFaGuHiKnKokKok_latnPcmZu (t * testing.T ) {
2020 var tests []pluralFormTest
2121
2222 tests = appendIntegerTests (tests , One , []string {"0" , "1" })
@@ -25,7 +25,7 @@ func TestAmAsBnDoiFaGuHiKnPcmZu(t *testing.T) {
2525 tests = appendIntegerTests (tests , Other , []string {"2~17" , "100" , "1000" , "10000" , "100000" , "1000000" })
2626 tests = appendDecimalTests (tests , Other , []string {"1.1~2.6" , "10.0" , "100.0" , "1000.0" , "10000.0" , "100000.0" , "1000000.0" })
2727
28- locales := []string {"am" , "as" , "bn" , "doi" , "fa" , "gu" , "hi" , "kn" , "pcm" , "zu" }
28+ locales := []string {"am" , "as" , "bn" , "doi" , "fa" , "gu" , "hi" , "kn" , "kok" , "kok_Latn" , " pcm" , "zu" }
2929 for _ , locale := range locales {
3030 runTests (t , locale , tests )
3131 }
@@ -46,15 +46,15 @@ func TestFfHyKab(t *testing.T) {
4646 }
4747}
4848
49- func TestAstDeEnEtFiFyGlIaIoJiLijNlScSvSwUrYi (t * testing.T ) {
49+ func TestAstDeEnEtFiFyGlIaIeIoJiLijNlScSvSwUrYi (t * testing.T ) {
5050 var tests []pluralFormTest
5151
5252 tests = appendIntegerTests (tests , One , []string {"1" })
5353
5454 tests = appendIntegerTests (tests , Other , []string {"0" , "2~16" , "100" , "1000" , "10000" , "100000" , "1000000" })
5555 tests = appendDecimalTests (tests , Other , []string {"0.0~1.5" , "10.0" , "100.0" , "1000.0" , "10000.0" , "100000.0" , "1000000.0" })
5656
57- locales := []string {"ast" , "de" , "en" , "et" , "fi" , "fy" , "gl" , "ia" , "io" , "ji" , "lij" , "nl" , "sc" , "sv" , "sw" , "ur" , "yi" }
57+ locales := []string {"ast" , "de" , "en" , "et" , "fi" , "fy" , "gl" , "ia" , "ie" , " io" , "ji" , "lij" , "nl" , "sc" , "sv" , "sw" , "ur" , "yi" }
5858 for _ , locale := range locales {
5959 runTests (t , locale , tests )
6060 }
@@ -216,7 +216,7 @@ func TestLag(t *testing.T) {
216216 }
217217}
218218
219- func TestBlo (t * testing.T ) {
219+ func TestBloCvKsh (t * testing.T ) {
220220 var tests []pluralFormTest
221221
222222 tests = appendIntegerTests (tests , Zero , []string {"0" })
@@ -228,25 +228,7 @@ func TestBlo(t *testing.T) {
228228 tests = appendIntegerTests (tests , Other , []string {"2~17" , "100" , "1000" , "10000" , "100000" , "1000000" })
229229 tests = appendDecimalTests (tests , Other , []string {"0.1~0.9" , "1.1~1.7" , "10.0" , "100.0" , "1000.0" , "10000.0" , "100000.0" , "1000000.0" })
230230
231- locales := []string {"blo" }
232- for _ , locale := range locales {
233- runTests (t , locale , tests )
234- }
235- }
236-
237- func TestKsh (t * testing.T ) {
238- var tests []pluralFormTest
239-
240- tests = appendIntegerTests (tests , Zero , []string {"0" })
241- tests = appendDecimalTests (tests , Zero , []string {"0.0" , "0.00" , "0.000" , "0.0000" })
242-
243- tests = appendIntegerTests (tests , One , []string {"1" })
244- tests = appendDecimalTests (tests , One , []string {"1.0" , "1.00" , "1.000" , "1.0000" })
245-
246- tests = appendIntegerTests (tests , Other , []string {"2~17" , "100" , "1000" , "10000" , "100000" , "1000000" })
247- tests = appendDecimalTests (tests , Other , []string {"0.1~0.9" , "1.1~1.7" , "10.0" , "100.0" , "1000.0" , "10000.0" , "100000.0" , "1000000.0" })
248-
249- locales := []string {"ksh" }
231+ locales := []string {"blo" , "cv" , "ksh" }
250232 for _ , locale := range locales {
251233 runTests (t , locale , tests )
252234 }
@@ -561,6 +543,29 @@ func TestRuUk(t *testing.T) {
561543 }
562544}
563545
546+ func TestSgs (t * testing.T ) {
547+ var tests []pluralFormTest
548+
549+ tests = appendIntegerTests (tests , One , []string {"1" , "21" , "31" , "41" , "51" , "61" , "71" , "81" , "101" , "1001" })
550+ tests = appendDecimalTests (tests , One , []string {"1.0" , "21.0" , "31.0" , "41.0" , "51.0" , "61.0" , "71.0" , "81.0" , "101.0" , "1001.0" })
551+
552+ tests = appendIntegerTests (tests , Two , []string {"2" })
553+ tests = appendDecimalTests (tests , Two , []string {"2.0" , "2.00" , "2.000" , "2.0000" })
554+
555+ tests = appendIntegerTests (tests , Few , []string {"3~9" , "22~29" , "32" , "102" , "1002" })
556+ tests = appendDecimalTests (tests , Few , []string {"3.0" , "4.0" , "5.0" , "6.0" , "7.0" , "8.0" , "9.0" , "22.0" , "102.0" , "1002.0" })
557+
558+ tests = appendDecimalTests (tests , Many , []string {"0.1~0.9" , "1.1~1.7" , "10.1" , "100.1" , "1000.1" })
559+
560+ tests = appendIntegerTests (tests , Other , []string {"0" , "10~20" , "30" , "40" , "50" , "60" , "100" , "1000" , "10000" , "100000" , "1000000" })
561+ tests = appendDecimalTests (tests , Other , []string {"0.0" , "10.0" , "11.0" , "12.0" , "13.0" , "14.0" , "15.0" , "16.0" , "100.0" , "1000.0" , "10000.0" , "100000.0" , "1000000.0" })
562+
563+ locales := []string {"sgs" }
564+ for _ , locale := range locales {
565+ runTests (t , locale , tests )
566+ }
567+ }
568+
564569func TestBr (t * testing.T ) {
565570 var tests []pluralFormTest
566571
0 commit comments