amuz.es/src/go/misc@v1.0.1/han/humanize_test.go (about)

     1  package han
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func TestKoreanPluralizeSubunit(t *testing.T) {
     8  	type args struct {
     9  		number int
    10  	}
    11  	tests := []struct {
    12  		name    string
    13  		args    args
    14  		wantOut string
    15  	}{
    16  		{
    17  			"0",
    18  			args{0},
    19  			"0",
    20  		},
    21  		{
    22  			"1",
    23  			args{1},
    24  			"1",
    25  		},
    26  		{
    27  			"9",
    28  			args{9},
    29  			"9",
    30  		},
    31  		{
    32  			"10",
    33  			args{10},
    34  			"십",
    35  		},
    36  		{
    37  			"12",
    38  			args{12},
    39  			"십2",
    40  		},
    41  		{
    42  			"23",
    43  			args{23},
    44  			"2십3",
    45  		},
    46  		{
    47  			"40",
    48  			args{40},
    49  			"4십",
    50  		},
    51  		{
    52  			"100",
    53  			args{100},
    54  			"백",
    55  		},
    56  		{
    57  			"106",
    58  			args{106},
    59  			"백6",
    60  		},
    61  		{
    62  			"123",
    63  			args{123},
    64  			"백2십3",
    65  		},
    66  		{
    67  			"170",
    68  			args{170},
    69  			"백7십",
    70  		},
    71  		{
    72  			"234",
    73  			args{234},
    74  			"2백3십4",
    75  		},
    76  		{
    77  			"500",
    78  			args{500},
    79  			"5백",
    80  		},
    81  		{
    82  			"509",
    83  			args{509},
    84  			"5백9",
    85  		},
    86  		{
    87  			"519",
    88  			args{519},
    89  			"5백십9",
    90  		},
    91  		{
    92  			"1000",
    93  			args{1000},
    94  			"천",
    95  		},
    96  		{
    97  			"1001",
    98  			args{1001},
    99  			"천1",
   100  		},
   101  		{
   102  			"1005",
   103  			args{1005},
   104  			"천5",
   105  		},
   106  		{
   107  			"1010",
   108  			args{1010},
   109  			"천십",
   110  		},
   111  		{
   112  			"1015",
   113  			args{1015},
   114  			"천십5",
   115  		},
   116  		{
   117  			"1060",
   118  			args{1060},
   119  			"천6십",
   120  		},
   121  		{
   122  			"1064",
   123  			args{1064},
   124  			"천6십4",
   125  		},
   126  		{
   127  			"1100",
   128  			args{1100},
   129  			"천백",
   130  		},
   131  		{
   132  			"1104",
   133  			args{1104},
   134  			"천백4",
   135  		},
   136  		{
   137  			"1140",
   138  			args{1140},
   139  			"천백4십",
   140  		},
   141  		{
   142  			"1123",
   143  			args{1123},
   144  			"천백2십3",
   145  		},
   146  		{
   147  			"1200",
   148  			args{1200},
   149  			"천2백",
   150  		},
   151  		{
   152  			"1201",
   153  			args{1201},
   154  			"천2백1",
   155  		},
   156  		{
   157  			"1204",
   158  			args{1204},
   159  			"천2백4",
   160  		},
   161  		{
   162  			"1240",
   163  			args{1240},
   164  			"천2백4십",
   165  		},
   166  		{
   167  			"1234",
   168  			args{1234},
   169  			"천2백3십4",
   170  		},
   171  
   172  		{
   173  			"6000",
   174  			args{6000},
   175  			"6천",
   176  		},
   177  		{
   178  			"6001",
   179  			args{6001},
   180  			"6천1",
   181  		},
   182  		{
   183  			"6005",
   184  			args{6005},
   185  			"6천5",
   186  		},
   187  		{
   188  			"6010",
   189  			args{6010},
   190  			"6천십",
   191  		},
   192  		{
   193  			"6015",
   194  			args{6015},
   195  			"6천십5",
   196  		},
   197  		{
   198  			"6060",
   199  			args{6060},
   200  			"6천6십",
   201  		},
   202  		{
   203  			"6064",
   204  			args{6064},
   205  			"6천6십4",
   206  		},
   207  		{
   208  			"6100",
   209  			args{6100},
   210  			"6천백",
   211  		},
   212  		{
   213  			"6104",
   214  			args{6104},
   215  			"6천백4",
   216  		},
   217  		{
   218  			"6140",
   219  			args{6140},
   220  			"6천백4십",
   221  		},
   222  		{
   223  			"6123",
   224  			args{6123},
   225  			"6천백2십3",
   226  		},
   227  		{
   228  			"6200",
   229  			args{6200},
   230  			"6천2백",
   231  		},
   232  		{
   233  			"6201",
   234  			args{6201},
   235  			"6천2백1",
   236  		},
   237  		{
   238  			"6204",
   239  			args{6204},
   240  			"6천2백4",
   241  		},
   242  		{
   243  			"6240",
   244  			args{6240},
   245  			"6천2백4십",
   246  		},
   247  		{
   248  			"6234",
   249  			args{6234},
   250  			"6천2백3십4",
   251  		},
   252  		{
   253  			"987654321",
   254  			args{987654321},
   255  			"98천7백6십54천3백2십1",
   256  		},
   257  	}
   258  	for _, tt := range tests {
   259  		t.Run(tt.name, func(t *testing.T) {
   260  			if gotOut := KoreanPluralizeSubunit(tt.args.number); gotOut != tt.wantOut {
   261  				t.Errorf("KoreanPluralizeSubunit() = %v, want %v", gotOut, tt.wantOut)
   262  			} else {
   263  				t.Logf("KoreanPluralizeSubunit() = %v", gotOut)
   264  			}
   265  		})
   266  	}
   267  }
   268  
   269  func TestKoreanPluralizeUnit(t *testing.T) {
   270  	type args struct {
   271  		number int
   272  	}
   273  	tests := []struct {
   274  		name    string
   275  		args    args
   276  		wantOut string
   277  	}{
   278  		{
   279  			"0",
   280  			args{0},
   281  			"0",
   282  		},
   283  		{
   284  			"1",
   285  			args{1},
   286  			"1",
   287  		},
   288  		{
   289  			"9",
   290  			args{9},
   291  			"9",
   292  		},
   293  		{
   294  			"10",
   295  			args{10},
   296  			"십",
   297  		},
   298  		{
   299  			"12",
   300  			args{12},
   301  			"십2",
   302  		},
   303  		{
   304  			"23",
   305  			args{23},
   306  			"2십3",
   307  		},
   308  		{
   309  			"40",
   310  			args{40},
   311  			"4십",
   312  		},
   313  		{
   314  			"100",
   315  			args{100},
   316  			"백",
   317  		},
   318  		{
   319  			"106",
   320  			args{106},
   321  			"백6",
   322  		},
   323  		{
   324  			"123",
   325  			args{123},
   326  			"백2십3",
   327  		},
   328  		{
   329  			"170",
   330  			args{170},
   331  			"백7십",
   332  		},
   333  		{
   334  			"234",
   335  			args{234},
   336  			"2백3십4",
   337  		},
   338  		{
   339  			"500",
   340  			args{500},
   341  			"5백",
   342  		},
   343  		{
   344  			"509",
   345  			args{509},
   346  			"5백9",
   347  		},
   348  		{
   349  			"519",
   350  			args{519},
   351  			"5백십9",
   352  		},
   353  		{
   354  			"1000",
   355  			args{1000},
   356  			"천",
   357  		},
   358  		{
   359  			"1001",
   360  			args{1001},
   361  			"천1",
   362  		},
   363  		{
   364  			"1005",
   365  			args{1005},
   366  			"천5",
   367  		},
   368  		{
   369  			"1010",
   370  			args{1010},
   371  			"천십",
   372  		},
   373  		{
   374  			"1015",
   375  			args{1015},
   376  			"천십5",
   377  		},
   378  		{
   379  			"1060",
   380  			args{1060},
   381  			"천6십",
   382  		},
   383  		{
   384  			"1064",
   385  			args{1064},
   386  			"천6십4",
   387  		},
   388  		{
   389  			"1100",
   390  			args{1100},
   391  			"천백",
   392  		},
   393  		{
   394  			"1104",
   395  			args{1104},
   396  			"천백4",
   397  		},
   398  		{
   399  			"1140",
   400  			args{1140},
   401  			"천백4십",
   402  		},
   403  		{
   404  			"1123",
   405  			args{1123},
   406  			"천백2십3",
   407  		},
   408  		{
   409  			"1200",
   410  			args{1200},
   411  			"천2백",
   412  		},
   413  		{
   414  			"1201",
   415  			args{1201},
   416  			"천2백1",
   417  		},
   418  		{
   419  			"1204",
   420  			args{1204},
   421  			"천2백4",
   422  		},
   423  		{
   424  			"1240",
   425  			args{1240},
   426  			"천2백4십",
   427  		},
   428  		{
   429  			"1234",
   430  			args{1234},
   431  			"천2백3십4",
   432  		},
   433  
   434  		{
   435  			"6000",
   436  			args{6000},
   437  			"6천",
   438  		},
   439  		{
   440  			"6001",
   441  			args{6001},
   442  			"6천1",
   443  		},
   444  		{
   445  			"6005",
   446  			args{6005},
   447  			"6천5",
   448  		},
   449  		{
   450  			"6010",
   451  			args{6010},
   452  			"6천십",
   453  		},
   454  		{
   455  			"6015",
   456  			args{6015},
   457  			"6천십5",
   458  		},
   459  		{
   460  			"6060",
   461  			args{6060},
   462  			"6천6십",
   463  		},
   464  		{
   465  			"6064",
   466  			args{6064},
   467  			"6천6십4",
   468  		},
   469  		{
   470  			"6100",
   471  			args{6100},
   472  			"6천백",
   473  		},
   474  		{
   475  			"6104",
   476  			args{6104},
   477  			"6천백4",
   478  		},
   479  		{
   480  			"6140",
   481  			args{6140},
   482  			"6천백4십",
   483  		},
   484  		{
   485  			"6123",
   486  			args{6123},
   487  			"6천백2십3",
   488  		},
   489  		{
   490  			"6200",
   491  			args{6200},
   492  			"6천2백",
   493  		},
   494  		{
   495  			"6201",
   496  			args{6201},
   497  			"6천2백1",
   498  		},
   499  		{
   500  			"6204",
   501  			args{6204},
   502  			"6천2백4",
   503  		},
   504  		{
   505  			"6240",
   506  			args{6240},
   507  			"6천2백4십",
   508  		},
   509  		{
   510  			"6234",
   511  			args{6234},
   512  			"6천2백3십4",
   513  		},
   514  		{
   515  			"10000",
   516  			args{10000},
   517  			"만",
   518  		},
   519  		{
   520  			"20000",
   521  			args{20000},
   522  			"2만",
   523  		},
   524  		{
   525  			"11110000",
   526  			args{11110000},
   527  			"천백십만",
   528  		},
   529  		{
   530  			"11111111",
   531  			args{11111111},
   532  			"천백십만천백십1",
   533  		},
   534  		{
   535  			"10101010",
   536  			args{10101010},
   537  			"천십만천십",
   538  		},
   539  		{
   540  			"10101012",
   541  			args{10101012},
   542  			"천십만천십2",
   543  		},
   544  		{
   545  			"99990000",
   546  			args{99990000},
   547  			"9천9백9십9만",
   548  		},
   549  		{
   550  			"99999999",
   551  			args{99999999},
   552  			"9천9백9십9만9천9백9십9",
   553  		},
   554  		{
   555  			"100000000",
   556  			args{100000000},
   557  			"억",
   558  		},
   559  		{
   560  			"100010000",
   561  			args{100010000},
   562  			"억만",
   563  		},
   564  		{
   565  			"111110000",
   566  			args{111110000},
   567  			"억천백십만",
   568  		},
   569  		{
   570  			"111111111",
   571  			args{111111111},
   572  			"억천백십만천백십1",
   573  		},
   574  		{
   575  			"110101010",
   576  			args{110101010},
   577  			"억천십만천십",
   578  		},
   579  		{
   580  			"110101012",
   581  			args{110101012},
   582  			"억천십만천십2",
   583  		},
   584  		{
   585  			"199990000",
   586  			args{199990000},
   587  			"억9천9백9십9만",
   588  		},
   589  		{
   590  			"199999999",
   591  			args{199999999},
   592  			"억9천9백9십9만9천9백9십9",
   593  		},
   594  		{
   595  			"200000000",
   596  			args{200000000},
   597  			"2억",
   598  		},
   599  		{
   600  			"200010000",
   601  			args{200010000},
   602  			"2억만",
   603  		},
   604  		{
   605  			"211110000",
   606  			args{211110000},
   607  			"2억천백십만",
   608  		},
   609  		{
   610  			"211111111",
   611  			args{211111111},
   612  			"2억천백십만천백십1",
   613  		},
   614  		{
   615  			"210101010",
   616  			args{210101010},
   617  			"2억천십만천십",
   618  		},
   619  		{
   620  			"210101012",
   621  			args{210101012},
   622  			"2억천십만천십2",
   623  		},
   624  		{
   625  			"299990000",
   626  			args{299990000},
   627  			"2억9천9백9십9만",
   628  		},
   629  		{
   630  			"299999999",
   631  			args{299999999},
   632  			"2억9천9백9십9만9천9백9십9",
   633  		},
   634  		{
   635  			"606060606060",
   636  			args{606060606060},
   637  			"6천6십억6천6십만6천6십",
   638  		},
   639  		{
   640  			"606060606066",
   641  			args{606060606066},
   642  			"6천6십억6천6십만6천6십6",
   643  		},
   644  		{
   645  			"666600000000",
   646  			args{666600000000},
   647  			"6천6백6십6억",
   648  		},
   649  		{
   650  			"1000000000000",
   651  			args{1000000000000},
   652  			"조",
   653  		},
   654  		{
   655  			"1000000000001",
   656  			args{1000000000001},
   657  			"조1",
   658  		},
   659  		{
   660  			"1000000000009",
   661  			args{1000000000009},
   662  			"조9",
   663  		},
   664  		{
   665  			"1000000000010",
   666  			args{1000000000010},
   667  			"조십",
   668  		},
   669  		{
   670  			"1000000000012",
   671  			args{1000000000012},
   672  			"조십2",
   673  		},
   674  		{
   675  			"1000000000023",
   676  			args{1000000000023},
   677  			"조2십3",
   678  		},
   679  		{
   680  			"1000000000040",
   681  			args{1000000000040},
   682  			"조4십",
   683  		},
   684  		{
   685  			"1000000000100",
   686  			args{1000000000100},
   687  			"조백",
   688  		},
   689  		{
   690  			"1000000000106",
   691  			args{1000000000106},
   692  			"조백6",
   693  		},
   694  		{
   695  			"1000000000123",
   696  			args{1000000000123},
   697  			"조백2십3",
   698  		},
   699  		{
   700  			"1000000000170",
   701  			args{1000000000170},
   702  			"조백7십",
   703  		},
   704  		{
   705  			"1000000000234",
   706  			args{1000000000234},
   707  			"조2백3십4",
   708  		},
   709  		{
   710  			"1000000000500",
   711  			args{1000000000500},
   712  			"조5백",
   713  		},
   714  		{
   715  			"1000000000509",
   716  			args{1000000000509},
   717  			"조5백9",
   718  		},
   719  		{
   720  			"1000000000519",
   721  			args{1000000000519},
   722  			"조5백십9",
   723  		},
   724  		{
   725  			"1000000001000",
   726  			args{1000000001000},
   727  			"조천",
   728  		},
   729  		{
   730  			"1000000001001",
   731  			args{1000000001001},
   732  			"조천1",
   733  		},
   734  		{
   735  			"1000000001005",
   736  			args{1000000001005},
   737  			"조천5",
   738  		},
   739  		{
   740  			"1000000001010",
   741  			args{1000000001010},
   742  			"조천십",
   743  		},
   744  		{
   745  			"1000000001015",
   746  			args{1000000001015},
   747  			"조천십5",
   748  		},
   749  		{
   750  			"1000000001060",
   751  			args{1000000001060},
   752  			"조천6십",
   753  		},
   754  		{
   755  			"1000000001064",
   756  			args{1000000001064},
   757  			"조천6십4",
   758  		},
   759  		{
   760  			"1000000001100",
   761  			args{1000000001100},
   762  			"조천백",
   763  		},
   764  		{
   765  			"1000000001104",
   766  			args{1000000001104},
   767  			"조천백4",
   768  		},
   769  		{
   770  			"1000000001140",
   771  			args{1000000001140},
   772  			"조천백4십",
   773  		},
   774  		{
   775  			"1000000001123",
   776  			args{1000000001123},
   777  			"조천백2십3",
   778  		},
   779  		{
   780  			"1000000001200",
   781  			args{1000000001200},
   782  			"조천2백",
   783  		},
   784  		{
   785  			"1000000001201",
   786  			args{1000000001201},
   787  			"조천2백1",
   788  		},
   789  		{
   790  			"1000000001204",
   791  			args{1000000001204},
   792  			"조천2백4",
   793  		},
   794  		{
   795  			"1000000001240",
   796  			args{1000000001240},
   797  			"조천2백4십",
   798  		},
   799  		{
   800  			"1000000001234",
   801  			args{1000000001234},
   802  			"조천2백3십4",
   803  		},
   804  		{
   805  			"1000000006000",
   806  			args{1000000006000},
   807  			"조6천",
   808  		},
   809  		{
   810  			"1000000006001",
   811  			args{1000000006001},
   812  			"조6천1",
   813  		},
   814  		{
   815  			"1000000006005",
   816  			args{1000000006005},
   817  			"조6천5",
   818  		},
   819  		{
   820  			"1000000006010",
   821  			args{1000000006010},
   822  			"조6천십",
   823  		},
   824  		{
   825  			"1000000006015",
   826  			args{1000000006015},
   827  			"조6천십5",
   828  		},
   829  		{
   830  			"1000000006060",
   831  			args{1000000006060},
   832  			"조6천6십",
   833  		},
   834  		{
   835  			"1000000006064",
   836  			args{1000000006064},
   837  			"조6천6십4",
   838  		},
   839  		{
   840  			"1000000006100",
   841  			args{1000000006100},
   842  			"조6천백",
   843  		},
   844  		{
   845  			"1000000006104",
   846  			args{1000000006104},
   847  			"조6천백4",
   848  		},
   849  		{
   850  			"1000000006140",
   851  			args{1000000006140},
   852  			"조6천백4십",
   853  		},
   854  		{
   855  			"1000000006123",
   856  			args{1000000006123},
   857  			"조6천백2십3",
   858  		},
   859  		{
   860  			"1000000006200",
   861  			args{1000000006200},
   862  			"조6천2백",
   863  		},
   864  		{
   865  			"1000000006201",
   866  			args{1000000006201},
   867  			"조6천2백1",
   868  		},
   869  		{
   870  			"1000000006204",
   871  			args{1000000006204},
   872  			"조6천2백4",
   873  		},
   874  		{
   875  			"1000000006240",
   876  			args{1000000006240},
   877  			"조6천2백4십",
   878  		},
   879  		{
   880  			"1000000006234",
   881  			args{1000000006234},
   882  			"조6천2백3십4",
   883  		},
   884  		{
   885  			"1000000010000",
   886  			args{1000000010000},
   887  			"조만",
   888  		},
   889  		{
   890  			"1000000020000",
   891  			args{1000000020000},
   892  			"조2만",
   893  		},
   894  		{
   895  			"1000011110000",
   896  			args{1000011110000},
   897  			"조천백십만",
   898  		},
   899  		{
   900  			"1000011111111",
   901  			args{1000011111111},
   902  			"조천백십만천백십1",
   903  		},
   904  		{
   905  			"1000010101010",
   906  			args{1000010101010},
   907  			"조천십만천십",
   908  		},
   909  		{
   910  			"1000010101012",
   911  			args{1000010101012},
   912  			"조천십만천십2",
   913  		},
   914  		{
   915  			"1000099990000",
   916  			args{1000099990000},
   917  			"조9천9백9십9만",
   918  		},
   919  		{
   920  			"1000099999999",
   921  			args{1000099999999},
   922  			"조9천9백9십9만9천9백9십9",
   923  		},
   924  		{
   925  			"1000100000000",
   926  			args{1000100000000},
   927  			"조억",
   928  		},
   929  		{
   930  			"1000100010000",
   931  			args{1000100010000},
   932  			"조억만",
   933  		},
   934  		{
   935  			"1000111110000",
   936  			args{1000111110000},
   937  			"조억천백십만",
   938  		},
   939  		{
   940  			"1000111111111",
   941  			args{1000111111111},
   942  			"조억천백십만천백십1",
   943  		},
   944  		{
   945  			"1000110101010",
   946  			args{1000110101010},
   947  			"조억천십만천십",
   948  		},
   949  		{
   950  			"1000110101012",
   951  			args{1000110101012},
   952  			"조억천십만천십2",
   953  		},
   954  		{
   955  			"1000199990000",
   956  			args{1000199990000},
   957  			"조억9천9백9십9만",
   958  		},
   959  		{
   960  			"1000199999999",
   961  			args{1000199999999},
   962  			"조억9천9백9십9만9천9백9십9",
   963  		},
   964  		{
   965  			"1000200000000",
   966  			args{1000200000000},
   967  			"조2억",
   968  		},
   969  		{
   970  			"1000200010000",
   971  			args{1000200010000},
   972  			"조2억만",
   973  		},
   974  		{
   975  			"1000211110000",
   976  			args{1000211110000},
   977  			"조2억천백십만",
   978  		},
   979  		{
   980  			"1000211111111",
   981  			args{1000211111111},
   982  			"조2억천백십만천백십1",
   983  		},
   984  		{
   985  			"1000210101010",
   986  			args{1000210101010},
   987  			"조2억천십만천십",
   988  		},
   989  		{
   990  			"1000210101012",
   991  			args{1000210101012},
   992  			"조2억천십만천십2",
   993  		},
   994  		{
   995  			"1000299990000",
   996  			args{1000299990000},
   997  			"조2억9천9백9십9만",
   998  		},
   999  		{
  1000  			"1000299999999",
  1001  			args{1000299999999},
  1002  			"조2억9천9백9십9만9천9백9십9",
  1003  		},
  1004  		{
  1005  			"1111111111111",
  1006  			args{1111111111111},
  1007  			"조천백십억천백십만천백십1",
  1008  		},
  1009  		{
  1010  			"1606060606060",
  1011  			args{1606060606060},
  1012  			"조6천6십억6천6십만6천6십",
  1013  		},
  1014  		{
  1015  			"1606060606066",
  1016  			args{1606060606066},
  1017  			"조6천6십억6천6십만6천6십6",
  1018  		},
  1019  		{
  1020  			"1666600000000",
  1021  			args{1666600000000},
  1022  			"조6천6백6십6억",
  1023  		},
  1024  		{
  1025  			"9876543210123456",
  1026  			args{9876543210123456},
  1027  			"9천8백7십6조5천4백3십2억천십2만3천4백5십6",
  1028  		},
  1029  		{
  1030  			"9999999999999999",
  1031  			args{9999999999999999},
  1032  			"9천9백9십9조9천9백9십9억9천9백9십9만9천9백9십9",
  1033  		},
  1034  		{
  1035  			"999999999999999999",
  1036  			args{999999999999999999},
  1037  			"9십99천9백9십9조9천9백9십9억9천9백9십9만9천9백9십9",
  1038  		},
  1039  	}
  1040  	for _, tt := range tests {
  1041  		t.Run(tt.name, func(t *testing.T) {
  1042  			if gotOut := KoreanPluralizeUnit(tt.args.number); gotOut != tt.wantOut {
  1043  				t.Errorf("KoreanPluralizeUnit() = %v, want %v", gotOut, tt.wantOut)
  1044  			} else {
  1045  				t.Logf("KoreanPluralizeUnit() = %v", gotOut)
  1046  			}
  1047  		})
  1048  	}
  1049  }
  1050  
  1051  func TestKoreanPluralizeUnitType2(t *testing.T) {
  1052  	type args struct {
  1053  		number int
  1054  	}
  1055  	tests := []struct {
  1056  		name    string
  1057  		args    args
  1058  		wantOut string
  1059  	}{
  1060  		{
  1061  			"0",
  1062  			args{0},
  1063  			"0",
  1064  		},
  1065  		{
  1066  			"1",
  1067  			args{1},
  1068  			"1",
  1069  		},
  1070  		{
  1071  			"9",
  1072  			args{9},
  1073  			"9",
  1074  		},
  1075  		{
  1076  			"10",
  1077  			args{10},
  1078  			"10",
  1079  		},
  1080  		{
  1081  			"12",
  1082  			args{12},
  1083  			"12",
  1084  		},
  1085  		{
  1086  			"23",
  1087  			args{23},
  1088  			"23",
  1089  		},
  1090  		{
  1091  			"40",
  1092  			args{40},
  1093  			"40",
  1094  		},
  1095  		{
  1096  			"100",
  1097  			args{100},
  1098  			"100",
  1099  		},
  1100  		{
  1101  			"106",
  1102  			args{106},
  1103  			"106",
  1104  		},
  1105  		{
  1106  			"123",
  1107  			args{123},
  1108  			"123",
  1109  		},
  1110  		{
  1111  			"170",
  1112  			args{170},
  1113  			"170",
  1114  		},
  1115  		{
  1116  			"234",
  1117  			args{234},
  1118  			"234",
  1119  		},
  1120  		{
  1121  			"500",
  1122  			args{500},
  1123  			"500",
  1124  		},
  1125  		{
  1126  			"509",
  1127  			args{509},
  1128  			"509",
  1129  		},
  1130  		{
  1131  			"519",
  1132  			args{519},
  1133  			"519",
  1134  		},
  1135  		{
  1136  			"1000",
  1137  			args{1000},
  1138  			"1000",
  1139  		},
  1140  		{
  1141  			"1001",
  1142  			args{1001},
  1143  			"1001",
  1144  		},
  1145  		{
  1146  			"1005",
  1147  			args{1005},
  1148  			"1005",
  1149  		},
  1150  		{
  1151  			"1010",
  1152  			args{1010},
  1153  			"1010",
  1154  		},
  1155  		{
  1156  			"1015",
  1157  			args{1015},
  1158  			"1015",
  1159  		},
  1160  		{
  1161  			"1060",
  1162  			args{1060},
  1163  			"1060",
  1164  		},
  1165  		{
  1166  			"1064",
  1167  			args{1064},
  1168  			"1064",
  1169  		},
  1170  		{
  1171  			"1100",
  1172  			args{1100},
  1173  			"1100",
  1174  		},
  1175  		{
  1176  			"1104",
  1177  			args{1104},
  1178  			"1104",
  1179  		},
  1180  		{
  1181  			"1140",
  1182  			args{1140},
  1183  			"1140",
  1184  		},
  1185  		{
  1186  			"1123",
  1187  			args{1123},
  1188  			"1123",
  1189  		},
  1190  		{
  1191  			"1200",
  1192  			args{1200},
  1193  			"1200",
  1194  		},
  1195  		{
  1196  			"1201",
  1197  			args{1201},
  1198  			"1201",
  1199  		},
  1200  		{
  1201  			"1204",
  1202  			args{1204},
  1203  			"1204",
  1204  		},
  1205  		{
  1206  			"1240",
  1207  			args{1240},
  1208  			"1240",
  1209  		},
  1210  		{
  1211  			"1234",
  1212  			args{1234},
  1213  			"1234",
  1214  		},
  1215  
  1216  		{
  1217  			"6000",
  1218  			args{6000},
  1219  			"6000",
  1220  		},
  1221  		{
  1222  			"6001",
  1223  			args{6001},
  1224  			"6001",
  1225  		},
  1226  		{
  1227  			"6005",
  1228  			args{6005},
  1229  			"6005",
  1230  		},
  1231  		{
  1232  			"6010",
  1233  			args{6010},
  1234  			"6010",
  1235  		},
  1236  		{
  1237  			"6015",
  1238  			args{6015},
  1239  			"6015",
  1240  		},
  1241  		{
  1242  			"6060",
  1243  			args{6060},
  1244  			"6060",
  1245  		},
  1246  		{
  1247  			"6064",
  1248  			args{6064},
  1249  			"6064",
  1250  		},
  1251  		{
  1252  			"6100",
  1253  			args{6100},
  1254  			"6100",
  1255  		},
  1256  		{
  1257  			"6104",
  1258  			args{6104},
  1259  			"6104",
  1260  		},
  1261  		{
  1262  			"6140",
  1263  			args{6140},
  1264  			"6140",
  1265  		},
  1266  		{
  1267  			"6123",
  1268  			args{6123},
  1269  			"6123",
  1270  		},
  1271  		{
  1272  			"6200",
  1273  			args{6200},
  1274  			"6200",
  1275  		},
  1276  		{
  1277  			"6201",
  1278  			args{6201},
  1279  			"6201",
  1280  		},
  1281  		{
  1282  			"6204",
  1283  			args{6204},
  1284  			"6204",
  1285  		},
  1286  		{
  1287  			"6240",
  1288  			args{6240},
  1289  			"6240",
  1290  		},
  1291  		{
  1292  			"6234",
  1293  			args{6234},
  1294  			"6234",
  1295  		},
  1296  		{
  1297  			"10000",
  1298  			args{10000},
  1299  			"1만",
  1300  		},
  1301  		{
  1302  			"20000",
  1303  			args{20000},
  1304  			"2만",
  1305  		},
  1306  		{
  1307  			"11110000",
  1308  			args{11110000},
  1309  			"1111만",
  1310  		},
  1311  		{
  1312  			"11111111",
  1313  			args{11111111},
  1314  			"1111만1111",
  1315  		},
  1316  		{
  1317  			"10101010",
  1318  			args{10101010},
  1319  			"1010만1010",
  1320  		},
  1321  		{
  1322  			"10101012",
  1323  			args{10101012},
  1324  			"1010만1012",
  1325  		},
  1326  		{
  1327  			"99990000",
  1328  			args{99990000},
  1329  			"9999만",
  1330  		},
  1331  		{
  1332  			"99999999",
  1333  			args{99999999},
  1334  			"9999만9999",
  1335  		},
  1336  		{
  1337  			"100000000",
  1338  			args{100000000},
  1339  			"1억",
  1340  		},
  1341  		{
  1342  			"100010000",
  1343  			args{100010000},
  1344  			"1억1만",
  1345  		},
  1346  		{
  1347  			"111110000",
  1348  			args{111110000},
  1349  			"1억1111만",
  1350  		},
  1351  		{
  1352  			"111111111",
  1353  			args{111111111},
  1354  			"1억1111만1111",
  1355  		},
  1356  		{
  1357  			"110101010",
  1358  			args{110101010},
  1359  			"1억1010만1010",
  1360  		},
  1361  		{
  1362  			"110101012",
  1363  			args{110101012},
  1364  			"1억1010만1012",
  1365  		},
  1366  		{
  1367  			"199990000",
  1368  			args{199990000},
  1369  			"1억9999만",
  1370  		},
  1371  		{
  1372  			"199999999",
  1373  			args{199999999},
  1374  			"1억9999만9999",
  1375  		},
  1376  		{
  1377  			"200000000",
  1378  			args{200000000},
  1379  			"2억",
  1380  		},
  1381  		{
  1382  			"200010000",
  1383  			args{200010000},
  1384  			"2억1만",
  1385  		},
  1386  		{
  1387  			"211110000",
  1388  			args{211110000},
  1389  			"2억1111만",
  1390  		},
  1391  		{
  1392  			"211111111",
  1393  			args{211111111},
  1394  			"2억1111만1111",
  1395  		},
  1396  		{
  1397  			"210101010",
  1398  			args{210101010},
  1399  			"2억1010만1010",
  1400  		},
  1401  		{
  1402  			"210101012",
  1403  			args{210101012},
  1404  			"2억1010만1012",
  1405  		},
  1406  		{
  1407  			"299990000",
  1408  			args{299990000},
  1409  			"2억9999만",
  1410  		},
  1411  		{
  1412  			"299999999",
  1413  			args{299999999},
  1414  			"2억9999만9999",
  1415  		},
  1416  		{
  1417  			"606060606060",
  1418  			args{606060606060},
  1419  			"6060억6060만6060",
  1420  		},
  1421  		{
  1422  			"606060606066",
  1423  			args{606060606066},
  1424  			"6060억6060만6066",
  1425  		},
  1426  		{
  1427  			"666600000000",
  1428  			args{666600000000},
  1429  			"6666억",
  1430  		},
  1431  		{
  1432  			"1000000000000",
  1433  			args{1000000000000},
  1434  			"1조",
  1435  		},
  1436  		{
  1437  			"1000000000001",
  1438  			args{1000000000001},
  1439  			"1조1",
  1440  		},
  1441  		{
  1442  			"1000000000009",
  1443  			args{1000000000009},
  1444  			"1조9",
  1445  		},
  1446  		{
  1447  			"1000000000010",
  1448  			args{1000000000010},
  1449  			"1조10",
  1450  		},
  1451  		{
  1452  			"1000000000012",
  1453  			args{1000000000012},
  1454  			"1조12",
  1455  		},
  1456  		{
  1457  			"1000000000023",
  1458  			args{1000000000023},
  1459  			"1조23",
  1460  		},
  1461  		{
  1462  			"1000000000040",
  1463  			args{1000000000040},
  1464  			"1조40",
  1465  		},
  1466  		{
  1467  			"1000000000100",
  1468  			args{1000000000100},
  1469  			"1조100",
  1470  		},
  1471  		{
  1472  			"1000000000106",
  1473  			args{1000000000106},
  1474  			"1조106",
  1475  		},
  1476  		{
  1477  			"1000000000123",
  1478  			args{1000000000123},
  1479  			"1조123",
  1480  		},
  1481  		{
  1482  			"1000000000170",
  1483  			args{1000000000170},
  1484  			"1조170",
  1485  		},
  1486  		{
  1487  			"1000000000234",
  1488  			args{1000000000234},
  1489  			"1조234",
  1490  		},
  1491  		{
  1492  			"1000000000500",
  1493  			args{1000000000500},
  1494  			"1조500",
  1495  		},
  1496  		{
  1497  			"1000000000509",
  1498  			args{1000000000509},
  1499  			"1조509",
  1500  		},
  1501  		{
  1502  			"1000000000519",
  1503  			args{1000000000519},
  1504  			"1조519",
  1505  		},
  1506  		{
  1507  			"1000000001000",
  1508  			args{1000000001000},
  1509  			"1조1000",
  1510  		},
  1511  		{
  1512  			"1000000001001",
  1513  			args{1000000001001},
  1514  			"1조1001",
  1515  		},
  1516  		{
  1517  			"1000000001005",
  1518  			args{1000000001005},
  1519  			"1조1005",
  1520  		},
  1521  		{
  1522  			"1000000001010",
  1523  			args{1000000001010},
  1524  			"1조1010",
  1525  		},
  1526  		{
  1527  			"1000000001015",
  1528  			args{1000000001015},
  1529  			"1조1015",
  1530  		},
  1531  		{
  1532  			"1000000001060",
  1533  			args{1000000001060},
  1534  			"1조1060",
  1535  		},
  1536  		{
  1537  			"1000000001064",
  1538  			args{1000000001064},
  1539  			"1조1064",
  1540  		},
  1541  		{
  1542  			"1000000001100",
  1543  			args{1000000001100},
  1544  			"1조1100",
  1545  		},
  1546  		{
  1547  			"1000000001104",
  1548  			args{1000000001104},
  1549  			"1조1104",
  1550  		},
  1551  		{
  1552  			"1000000001140",
  1553  			args{1000000001140},
  1554  			"1조1140",
  1555  		},
  1556  		{
  1557  			"1000000001123",
  1558  			args{1000000001123},
  1559  			"1조1123",
  1560  		},
  1561  		{
  1562  			"1000000001200",
  1563  			args{1000000001200},
  1564  			"1조1200",
  1565  		},
  1566  		{
  1567  			"1000000001201",
  1568  			args{1000000001201},
  1569  			"1조1201",
  1570  		},
  1571  		{
  1572  			"1000000001204",
  1573  			args{1000000001204},
  1574  			"1조1204",
  1575  		},
  1576  		{
  1577  			"1000000001240",
  1578  			args{1000000001240},
  1579  			"1조1240",
  1580  		},
  1581  		{
  1582  			"1000000001234",
  1583  			args{1000000001234},
  1584  			"1조1234",
  1585  		},
  1586  		{
  1587  			"1000000006000",
  1588  			args{1000000006000},
  1589  			"1조6000",
  1590  		},
  1591  		{
  1592  			"1000000006001",
  1593  			args{1000000006001},
  1594  			"1조6001",
  1595  		},
  1596  		{
  1597  			"1000000006005",
  1598  			args{1000000006005},
  1599  			"1조6005",
  1600  		},
  1601  		{
  1602  			"1000000006010",
  1603  			args{1000000006010},
  1604  			"1조6010",
  1605  		},
  1606  		{
  1607  			"1000000006015",
  1608  			args{1000000006015},
  1609  			"1조6015",
  1610  		},
  1611  		{
  1612  			"1000000006060",
  1613  			args{1000000006060},
  1614  			"1조6060",
  1615  		},
  1616  		{
  1617  			"1000000006064",
  1618  			args{1000000006064},
  1619  			"1조6064",
  1620  		},
  1621  		{
  1622  			"1000000006100",
  1623  			args{1000000006100},
  1624  			"1조6100",
  1625  		},
  1626  		{
  1627  			"1000000006104",
  1628  			args{1000000006104},
  1629  			"1조6104",
  1630  		},
  1631  		{
  1632  			"1000000006140",
  1633  			args{1000000006140},
  1634  			"1조6140",
  1635  		},
  1636  		{
  1637  			"1000000006123",
  1638  			args{1000000006123},
  1639  			"1조6123",
  1640  		},
  1641  		{
  1642  			"1000000006200",
  1643  			args{1000000006200},
  1644  			"1조6200",
  1645  		},
  1646  		{
  1647  			"1000000006201",
  1648  			args{1000000006201},
  1649  			"1조6201",
  1650  		},
  1651  		{
  1652  			"1000000006204",
  1653  			args{1000000006204},
  1654  			"1조6204",
  1655  		},
  1656  		{
  1657  			"1000000006240",
  1658  			args{1000000006240},
  1659  			"1조6240",
  1660  		},
  1661  		{
  1662  			"1000000006234",
  1663  			args{1000000006234},
  1664  			"1조6234",
  1665  		},
  1666  		{
  1667  			"1000000010000",
  1668  			args{1000000010000},
  1669  			"1조1만",
  1670  		},
  1671  		{
  1672  			"1000000020000",
  1673  			args{1000000020000},
  1674  			"1조2만",
  1675  		},
  1676  		{
  1677  			"1000011110000",
  1678  			args{1000011110000},
  1679  			"1조1111만",
  1680  		},
  1681  		{
  1682  			"1000011111111",
  1683  			args{1000011111111},
  1684  			"1조1111만1111",
  1685  		},
  1686  		{
  1687  			"1000010101010",
  1688  			args{1000010101010},
  1689  			"1조1010만1010",
  1690  		},
  1691  		{
  1692  			"1000010101012",
  1693  			args{1000010101012},
  1694  			"1조1010만1012",
  1695  		},
  1696  		{
  1697  			"1000099990000",
  1698  			args{1000099990000},
  1699  			"1조9999만",
  1700  		},
  1701  		{
  1702  			"1000099999999",
  1703  			args{1000099999999},
  1704  			"1조9999만9999",
  1705  		},
  1706  		{
  1707  			"1000100000000",
  1708  			args{1000100000000},
  1709  			"1조1억",
  1710  		},
  1711  		{
  1712  			"1000100010000",
  1713  			args{1000100010000},
  1714  			"1조1억1만",
  1715  		},
  1716  		{
  1717  			"1000111110000",
  1718  			args{1000111110000},
  1719  			"1조1억1111만",
  1720  		},
  1721  		{
  1722  			"1000111111111",
  1723  			args{1000111111111},
  1724  			"1조1억1111만1111",
  1725  		},
  1726  		{
  1727  			"1000110101010",
  1728  			args{1000110101010},
  1729  			"1조1억1010만1010",
  1730  		},
  1731  		{
  1732  			"1000110101012",
  1733  			args{1000110101012},
  1734  			"1조1억1010만1012",
  1735  		},
  1736  		{
  1737  			"1000199990000",
  1738  			args{1000199990000},
  1739  			"1조1억9999만",
  1740  		},
  1741  		{
  1742  			"1000199999999",
  1743  			args{1000199999999},
  1744  			"1조1억9999만9999",
  1745  		},
  1746  		{
  1747  			"1000200000000",
  1748  			args{1000200000000},
  1749  			"1조2억",
  1750  		},
  1751  		{
  1752  			"1000200010000",
  1753  			args{1000200010000},
  1754  			"1조2억1만",
  1755  		},
  1756  		{
  1757  			"1000211110000",
  1758  			args{1000211110000},
  1759  			"1조2억1111만",
  1760  		},
  1761  		{
  1762  			"1000211111111",
  1763  			args{1000211111111},
  1764  			"1조2억1111만1111",
  1765  		},
  1766  		{
  1767  			"1000210101010",
  1768  			args{1000210101010},
  1769  			"1조2억1010만1010",
  1770  		},
  1771  		{
  1772  			"1000210101012",
  1773  			args{1000210101012},
  1774  			"1조2억1010만1012",
  1775  		},
  1776  		{
  1777  			"1000299990000",
  1778  			args{1000299990000},
  1779  			"1조2억9999만",
  1780  		},
  1781  		{
  1782  			"1000299999999",
  1783  			args{1000299999999},
  1784  			"1조2억9999만9999",
  1785  		},
  1786  		{
  1787  			"1111111111111",
  1788  			args{1111111111111},
  1789  			"1조1111억1111만1111",
  1790  		},
  1791  		{
  1792  			"1606060606060",
  1793  			args{1606060606060},
  1794  			"1조6060억6060만6060",
  1795  		},
  1796  		{
  1797  			"1606060606066",
  1798  			args{1606060606066},
  1799  			"1조6060억6060만6066",
  1800  		},
  1801  		{
  1802  			"1666600000000",
  1803  			args{1666600000000},
  1804  			"1조6666억",
  1805  		},
  1806  		{
  1807  			"9876543210123456",
  1808  			args{9876543210123456},
  1809  			"9876조5432억1012만3456",
  1810  		},
  1811  		{
  1812  			"9999999999999999",
  1813  			args{9999999999999999},
  1814  			"9999조9999억9999만9999",
  1815  		},
  1816  		{
  1817  			"999999999999999999",
  1818  			args{999999999999999999},
  1819  			"999999조9999억9999만9999",
  1820  		},
  1821  	}
  1822  	for _, tt := range tests {
  1823  		t.Run(tt.name, func(t *testing.T) {
  1824  			if gotOut := KoreanPluralizeUnitType2(tt.args.number); gotOut != tt.wantOut {
  1825  				t.Errorf("KoreanPluralizeUnitType2() = %v, want %v", gotOut, tt.wantOut)
  1826  			} else {
  1827  				t.Logf("KoreanPluralizeUnitType2() = %v", gotOut)
  1828  			}
  1829  		})
  1830  	}
  1831  }
  1832  
  1833  func TestKoreanPluralizeUnitType3(t *testing.T) {
  1834  	type args struct {
  1835  		number int
  1836  	}
  1837  	tests := []struct {
  1838  		name    string
  1839  		args    args
  1840  		wantOut string
  1841  	}{
  1842  		{
  1843  			"0",
  1844  			args{0},
  1845  			"0",
  1846  		},
  1847  		{
  1848  			"1",
  1849  			args{1},
  1850  			"1",
  1851  		},
  1852  		{
  1853  			"9",
  1854  			args{9},
  1855  			"9",
  1856  		},
  1857  		{
  1858  			"10",
  1859  			args{10},
  1860  			"10",
  1861  		},
  1862  		{
  1863  			"12",
  1864  			args{12},
  1865  			"12",
  1866  		},
  1867  		{
  1868  			"23",
  1869  			args{23},
  1870  			"23",
  1871  		},
  1872  		{
  1873  			"40",
  1874  			args{40},
  1875  			"40",
  1876  		},
  1877  		{
  1878  			"100",
  1879  			args{100},
  1880  			"100",
  1881  		},
  1882  		{
  1883  			"106",
  1884  			args{106},
  1885  			"106",
  1886  		},
  1887  		{
  1888  			"123",
  1889  			args{123},
  1890  			"123",
  1891  		},
  1892  		{
  1893  			"170",
  1894  			args{170},
  1895  			"170",
  1896  		},
  1897  		{
  1898  			"234",
  1899  			args{234},
  1900  			"234",
  1901  		},
  1902  		{
  1903  			"500",
  1904  			args{500},
  1905  			"500",
  1906  		},
  1907  		{
  1908  			"509",
  1909  			args{509},
  1910  			"509",
  1911  		},
  1912  		{
  1913  			"519",
  1914  			args{519},
  1915  			"519",
  1916  		},
  1917  		{
  1918  			"1000",
  1919  			args{1000},
  1920  			"1000",
  1921  		},
  1922  		{
  1923  			"1001",
  1924  			args{1001},
  1925  			"1001",
  1926  		},
  1927  		{
  1928  			"1005",
  1929  			args{1005},
  1930  			"1005",
  1931  		},
  1932  		{
  1933  			"1010",
  1934  			args{1010},
  1935  			"1010",
  1936  		},
  1937  		{
  1938  			"1015",
  1939  			args{1015},
  1940  			"1015",
  1941  		},
  1942  		{
  1943  			"1060",
  1944  			args{1060},
  1945  			"1060",
  1946  		},
  1947  		{
  1948  			"1064",
  1949  			args{1064},
  1950  			"1064",
  1951  		},
  1952  		{
  1953  			"1100",
  1954  			args{1100},
  1955  			"1100",
  1956  		},
  1957  		{
  1958  			"1104",
  1959  			args{1104},
  1960  			"1104",
  1961  		},
  1962  		{
  1963  			"1140",
  1964  			args{1140},
  1965  			"1140",
  1966  		},
  1967  		{
  1968  			"1123",
  1969  			args{1123},
  1970  			"1123",
  1971  		},
  1972  		{
  1973  			"1200",
  1974  			args{1200},
  1975  			"1200",
  1976  		},
  1977  		{
  1978  			"1201",
  1979  			args{1201},
  1980  			"1201",
  1981  		},
  1982  		{
  1983  			"1204",
  1984  			args{1204},
  1985  			"1204",
  1986  		},
  1987  		{
  1988  			"1240",
  1989  			args{1240},
  1990  			"1240",
  1991  		},
  1992  		{
  1993  			"1234",
  1994  			args{1234},
  1995  			"1234",
  1996  		},
  1997  
  1998  		{
  1999  			"6000",
  2000  			args{6000},
  2001  			"6000",
  2002  		},
  2003  		{
  2004  			"6001",
  2005  			args{6001},
  2006  			"6001",
  2007  		},
  2008  		{
  2009  			"6005",
  2010  			args{6005},
  2011  			"6005",
  2012  		},
  2013  		{
  2014  			"6010",
  2015  			args{6010},
  2016  			"6010",
  2017  		},
  2018  		{
  2019  			"6015",
  2020  			args{6015},
  2021  			"6015",
  2022  		},
  2023  		{
  2024  			"6060",
  2025  			args{6060},
  2026  			"6060",
  2027  		},
  2028  		{
  2029  			"6064",
  2030  			args{6064},
  2031  			"6064",
  2032  		},
  2033  		{
  2034  			"6100",
  2035  			args{6100},
  2036  			"6100",
  2037  		},
  2038  		{
  2039  			"6104",
  2040  			args{6104},
  2041  			"6104",
  2042  		},
  2043  		{
  2044  			"6140",
  2045  			args{6140},
  2046  			"6140",
  2047  		},
  2048  		{
  2049  			"6123",
  2050  			args{6123},
  2051  			"6123",
  2052  		},
  2053  		{
  2054  			"6200",
  2055  			args{6200},
  2056  			"6200",
  2057  		},
  2058  		{
  2059  			"6201",
  2060  			args{6201},
  2061  			"6201",
  2062  		},
  2063  		{
  2064  			"6204",
  2065  			args{6204},
  2066  			"6204",
  2067  		},
  2068  		{
  2069  			"6240",
  2070  			args{6240},
  2071  			"6240",
  2072  		},
  2073  		{
  2074  			"6234",
  2075  			args{6234},
  2076  			"6234",
  2077  		},
  2078  		{
  2079  			"10000",
  2080  			args{10000},
  2081  			"1만",
  2082  		},
  2083  		{
  2084  			"20000",
  2085  			args{20000},
  2086  			"2만",
  2087  		},
  2088  		{
  2089  			"11110000",
  2090  			args{11110000},
  2091  			"천백십1만",
  2092  		},
  2093  		{
  2094  			"11111111",
  2095  			args{11111111},
  2096  			"천백십1만1111",
  2097  		},
  2098  		{
  2099  			"10101010",
  2100  			args{10101010},
  2101  			"천십만1010",
  2102  		},
  2103  		{
  2104  			"10101012",
  2105  			args{10101012},
  2106  			"천십만1012",
  2107  		},
  2108  		{
  2109  			"99990000",
  2110  			args{99990000},
  2111  			"9천9백9십9만",
  2112  		},
  2113  		{
  2114  			"99999999",
  2115  			args{99999999},
  2116  			"9천9백9십9만9999",
  2117  		},
  2118  		{
  2119  			"100000000",
  2120  			args{100000000},
  2121  			"1억",
  2122  		},
  2123  		{
  2124  			"100010000",
  2125  			args{100010000},
  2126  			"1억1만",
  2127  		},
  2128  		{
  2129  			"111110000",
  2130  			args{111110000},
  2131  			"1억천백십1만",
  2132  		},
  2133  		{
  2134  			"111111111",
  2135  			args{111111111},
  2136  			"1억천백십1만1111",
  2137  		},
  2138  		{
  2139  			"110101010",
  2140  			args{110101010},
  2141  			"1억천십만1010",
  2142  		},
  2143  		{
  2144  			"110101012",
  2145  			args{110101012},
  2146  			"1억천십만1012",
  2147  		},
  2148  		{
  2149  			"199990000",
  2150  			args{199990000},
  2151  			"1억9천9백9십9만",
  2152  		},
  2153  		{
  2154  			"199999999",
  2155  			args{199999999},
  2156  			"1억9천9백9십9만9999",
  2157  		},
  2158  		{
  2159  			"200000000",
  2160  			args{200000000},
  2161  			"2억",
  2162  		},
  2163  		{
  2164  			"200010000",
  2165  			args{200010000},
  2166  			"2억1만",
  2167  		},
  2168  		{
  2169  			"211110000",
  2170  			args{211110000},
  2171  			"2억천백십1만",
  2172  		},
  2173  		{
  2174  			"211111111",
  2175  			args{211111111},
  2176  			"2억천백십1만1111",
  2177  		},
  2178  		{
  2179  			"210101010",
  2180  			args{210101010},
  2181  			"2억천십만1010",
  2182  		},
  2183  		{
  2184  			"210101012",
  2185  			args{210101012},
  2186  			"2억천십만1012",
  2187  		},
  2188  		{
  2189  			"299990000",
  2190  			args{299990000},
  2191  			"2억9천9백9십9만",
  2192  		},
  2193  		{
  2194  			"299999999",
  2195  			args{299999999},
  2196  			"2억9천9백9십9만9999",
  2197  		},
  2198  		{
  2199  			"606060606060",
  2200  			args{606060606060},
  2201  			"6천6십억6천6십만6060",
  2202  		},
  2203  		{
  2204  			"606060606066",
  2205  			args{606060606066},
  2206  			"6천6십억6천6십만6066",
  2207  		},
  2208  		{
  2209  			"666600000000",
  2210  			args{666600000000},
  2211  			"6천6백6십6억",
  2212  		},
  2213  		{
  2214  			"1000000000000",
  2215  			args{1000000000000},
  2216  			"1조",
  2217  		},
  2218  		{
  2219  			"1000000000001",
  2220  			args{1000000000001},
  2221  			"1조1",
  2222  		},
  2223  		{
  2224  			"1000000000009",
  2225  			args{1000000000009},
  2226  			"1조9",
  2227  		},
  2228  		{
  2229  			"1000000000010",
  2230  			args{1000000000010},
  2231  			"1조10",
  2232  		},
  2233  		{
  2234  			"1000000000012",
  2235  			args{1000000000012},
  2236  			"1조12",
  2237  		},
  2238  		{
  2239  			"1000000000023",
  2240  			args{1000000000023},
  2241  			"1조23",
  2242  		},
  2243  		{
  2244  			"1000000000040",
  2245  			args{1000000000040},
  2246  			"1조40",
  2247  		},
  2248  		{
  2249  			"1000000000100",
  2250  			args{1000000000100},
  2251  			"1조100",
  2252  		},
  2253  		{
  2254  			"1000000000106",
  2255  			args{1000000000106},
  2256  			"1조106",
  2257  		},
  2258  		{
  2259  			"1000000000123",
  2260  			args{1000000000123},
  2261  			"1조123",
  2262  		},
  2263  		{
  2264  			"1000000000170",
  2265  			args{1000000000170},
  2266  			"1조170",
  2267  		},
  2268  		{
  2269  			"1000000000234",
  2270  			args{1000000000234},
  2271  			"1조234",
  2272  		},
  2273  		{
  2274  			"1000000000500",
  2275  			args{1000000000500},
  2276  			"1조500",
  2277  		},
  2278  		{
  2279  			"1000000000509",
  2280  			args{1000000000509},
  2281  			"1조509",
  2282  		},
  2283  		{
  2284  			"1000000000519",
  2285  			args{1000000000519},
  2286  			"1조519",
  2287  		},
  2288  		{
  2289  			"1000000001000",
  2290  			args{1000000001000},
  2291  			"1조1000",
  2292  		},
  2293  		{
  2294  			"1000000001001",
  2295  			args{1000000001001},
  2296  			"1조1001",
  2297  		},
  2298  		{
  2299  			"1000000001005",
  2300  			args{1000000001005},
  2301  			"1조1005",
  2302  		},
  2303  		{
  2304  			"1000000001010",
  2305  			args{1000000001010},
  2306  			"1조1010",
  2307  		},
  2308  		{
  2309  			"1000000001015",
  2310  			args{1000000001015},
  2311  			"1조1015",
  2312  		},
  2313  		{
  2314  			"1000000001060",
  2315  			args{1000000001060},
  2316  			"1조1060",
  2317  		},
  2318  		{
  2319  			"1000000001064",
  2320  			args{1000000001064},
  2321  			"1조1064",
  2322  		},
  2323  		{
  2324  			"1000000001100",
  2325  			args{1000000001100},
  2326  			"1조1100",
  2327  		},
  2328  		{
  2329  			"1000000001104",
  2330  			args{1000000001104},
  2331  			"1조1104",
  2332  		},
  2333  		{
  2334  			"1000000001140",
  2335  			args{1000000001140},
  2336  			"1조1140",
  2337  		},
  2338  		{
  2339  			"1000000001123",
  2340  			args{1000000001123},
  2341  			"1조1123",
  2342  		},
  2343  		{
  2344  			"1000000001200",
  2345  			args{1000000001200},
  2346  			"1조1200",
  2347  		},
  2348  		{
  2349  			"1000000001201",
  2350  			args{1000000001201},
  2351  			"1조1201",
  2352  		},
  2353  		{
  2354  			"1000000001204",
  2355  			args{1000000001204},
  2356  			"1조1204",
  2357  		},
  2358  		{
  2359  			"1000000001240",
  2360  			args{1000000001240},
  2361  			"1조1240",
  2362  		},
  2363  		{
  2364  			"1000000001234",
  2365  			args{1000000001234},
  2366  			"1조1234",
  2367  		},
  2368  		{
  2369  			"1000000006000",
  2370  			args{1000000006000},
  2371  			"1조6000",
  2372  		},
  2373  		{
  2374  			"1000000006001",
  2375  			args{1000000006001},
  2376  			"1조6001",
  2377  		},
  2378  		{
  2379  			"1000000006005",
  2380  			args{1000000006005},
  2381  			"1조6005",
  2382  		},
  2383  		{
  2384  			"1000000006010",
  2385  			args{1000000006010},
  2386  			"1조6010",
  2387  		},
  2388  		{
  2389  			"1000000006015",
  2390  			args{1000000006015},
  2391  			"1조6015",
  2392  		},
  2393  		{
  2394  			"1000000006060",
  2395  			args{1000000006060},
  2396  			"1조6060",
  2397  		},
  2398  		{
  2399  			"1000000006064",
  2400  			args{1000000006064},
  2401  			"1조6064",
  2402  		},
  2403  		{
  2404  			"1000000006100",
  2405  			args{1000000006100},
  2406  			"1조6100",
  2407  		},
  2408  		{
  2409  			"1000000006104",
  2410  			args{1000000006104},
  2411  			"1조6104",
  2412  		},
  2413  		{
  2414  			"1000000006140",
  2415  			args{1000000006140},
  2416  			"1조6140",
  2417  		},
  2418  		{
  2419  			"1000000006123",
  2420  			args{1000000006123},
  2421  			"1조6123",
  2422  		},
  2423  		{
  2424  			"1000000006200",
  2425  			args{1000000006200},
  2426  			"1조6200",
  2427  		},
  2428  		{
  2429  			"1000000006201",
  2430  			args{1000000006201},
  2431  			"1조6201",
  2432  		},
  2433  		{
  2434  			"1000000006204",
  2435  			args{1000000006204},
  2436  			"1조6204",
  2437  		},
  2438  		{
  2439  			"1000000006240",
  2440  			args{1000000006240},
  2441  			"1조6240",
  2442  		},
  2443  		{
  2444  			"1000000006234",
  2445  			args{1000000006234},
  2446  			"1조6234",
  2447  		},
  2448  		{
  2449  			"1000000010000",
  2450  			args{1000000010000},
  2451  			"1조1만",
  2452  		},
  2453  		{
  2454  			"1000000020000",
  2455  			args{1000000020000},
  2456  			"1조2만",
  2457  		},
  2458  		{
  2459  			"1000011110000",
  2460  			args{1000011110000},
  2461  			"1조천백십1만",
  2462  		},
  2463  		{
  2464  			"1000011111111",
  2465  			args{1000011111111},
  2466  			"1조천백십1만1111",
  2467  		},
  2468  		{
  2469  			"1000010101010",
  2470  			args{1000010101010},
  2471  			"1조천십만1010",
  2472  		},
  2473  		{
  2474  			"1000010101012",
  2475  			args{1000010101012},
  2476  			"1조천십만1012",
  2477  		},
  2478  		{
  2479  			"1000099990000",
  2480  			args{1000099990000},
  2481  			"1조9천9백9십9만",
  2482  		},
  2483  		{
  2484  			"1000099999999",
  2485  			args{1000099999999},
  2486  			"1조9천9백9십9만9999",
  2487  		},
  2488  		{
  2489  			"1000100000000",
  2490  			args{1000100000000},
  2491  			"1조1억",
  2492  		},
  2493  		{
  2494  			"1000100010000",
  2495  			args{1000100010000},
  2496  			"1조1억1만",
  2497  		},
  2498  		{
  2499  			"1000111110000",
  2500  			args{1000111110000},
  2501  			"1조1억천백십1만",
  2502  		},
  2503  		{
  2504  			"1000111111111",
  2505  			args{1000111111111},
  2506  			"1조1억천백십1만1111",
  2507  		},
  2508  		{
  2509  			"1000110101010",
  2510  			args{1000110101010},
  2511  			"1조1억천십만1010",
  2512  		},
  2513  		{
  2514  			"1000110101012",
  2515  			args{1000110101012},
  2516  			"1조1억천십만1012",
  2517  		},
  2518  		{
  2519  			"1000199990000",
  2520  			args{1000199990000},
  2521  			"1조1억9천9백9십9만",
  2522  		},
  2523  		{
  2524  			"1000199999999",
  2525  			args{1000199999999},
  2526  			"1조1억9천9백9십9만9999",
  2527  		},
  2528  		{
  2529  			"1000200000000",
  2530  			args{1000200000000},
  2531  			"1조2억",
  2532  		},
  2533  		{
  2534  			"1000200010000",
  2535  			args{1000200010000},
  2536  			"1조2억1만",
  2537  		},
  2538  		{
  2539  			"1000211110000",
  2540  			args{1000211110000},
  2541  			"1조2억천백십1만",
  2542  		},
  2543  		{
  2544  			"1000211111111",
  2545  			args{1000211111111},
  2546  			"1조2억천백십1만1111",
  2547  		},
  2548  		{
  2549  			"1000210101010",
  2550  			args{1000210101010},
  2551  			"1조2억천십만1010",
  2552  		},
  2553  		{
  2554  			"1000210101012",
  2555  			args{1000210101012},
  2556  			"1조2억천십만1012",
  2557  		},
  2558  		{
  2559  			"1000299990000",
  2560  			args{1000299990000},
  2561  			"1조2억9천9백9십9만",
  2562  		},
  2563  		{
  2564  			"1000299999999",
  2565  			args{1000299999999},
  2566  			"1조2억9천9백9십9만9999",
  2567  		},
  2568  		{
  2569  			"1111111111111",
  2570  			args{1111111111111},
  2571  			"1조천백십1억천백십1만1111",
  2572  		},
  2573  		{
  2574  			"1606060606060",
  2575  			args{1606060606060},
  2576  			"1조6천6십억6천6십만6060",
  2577  		},
  2578  		{
  2579  			"1606060606066",
  2580  			args{1606060606066},
  2581  			"1조6천6십억6천6십만6066",
  2582  		},
  2583  		{
  2584  			"1666600000000",
  2585  			args{1666600000000},
  2586  			"1조6천6백6십6억",
  2587  		},
  2588  		{
  2589  			"9876543210123456",
  2590  			args{9876543210123456},
  2591  			"9천8백7십6조5천4백3십2억천십2만3456",
  2592  		},
  2593  		{
  2594  			"9999999999999999",
  2595  			args{9999999999999999},
  2596  			"9천9백9십9조9천9백9십9억9천9백9십9만9999",
  2597  		},
  2598  		{
  2599  			"999999999999999999",
  2600  			args{999999999999999999},
  2601  			"9십99천9백9십9조9천9백9십9억9천9백9십9만9999",
  2602  		},
  2603  	}
  2604  	for _, tt := range tests {
  2605  		t.Run(tt.name, func(t *testing.T) {
  2606  			if gotOut := KoreanPluralizeUnitType3(tt.args.number); gotOut != tt.wantOut {
  2607  				t.Errorf("KoreanPluralizeUnitType3() = %v, want %v", gotOut, tt.wantOut)
  2608  			} else {
  2609  				t.Logf("KoreanPluralizeUnitType3() = %v", gotOut)
  2610  			}
  2611  		})
  2612  	}
  2613  }