@@ -8,90 +8,90 @@ public class SayTest
88 [ Fact ]
99 public void Zero ( )
1010 {
11- Assert . Equal ( "zero" , Say . InEnglish ( 0 ) ) ;
11+ Assert . Equal ( "zero" , Say . InEnglish ( 0L ) ) ;
1212 }
1313
1414 [ Fact ( Skip = "Remove to run test" ) ]
1515 public void One ( )
1616 {
17- Assert . Equal ( "one" , Say . InEnglish ( 1 ) ) ;
17+ Assert . Equal ( "one" , Say . InEnglish ( 1L ) ) ;
1818 }
1919
2020 [ Fact ( Skip = "Remove to run test" ) ]
2121 public void Fourteen ( )
2222 {
23- Assert . Equal ( "fourteen" , Say . InEnglish ( 14 ) ) ;
23+ Assert . Equal ( "fourteen" , Say . InEnglish ( 14L ) ) ;
2424 }
2525
2626 [ Fact ( Skip = "Remove to run test" ) ]
2727 public void Twenty ( )
2828 {
29- Assert . Equal ( "twenty" , Say . InEnglish ( 20 ) ) ;
29+ Assert . Equal ( "twenty" , Say . InEnglish ( 20L ) ) ;
3030 }
3131
3232 [ Fact ( Skip = "Remove to run test" ) ]
3333 public void Twenty_two ( )
3434 {
35- Assert . Equal ( "twenty-two" , Say . InEnglish ( 22 ) ) ;
35+ Assert . Equal ( "twenty-two" , Say . InEnglish ( 22L ) ) ;
3636 }
3737
3838 [ Fact ( Skip = "Remove to run test" ) ]
3939 public void One_hundred ( )
4040 {
41- Assert . Equal ( "one hundred" , Say . InEnglish ( 100 ) ) ;
41+ Assert . Equal ( "one hundred" , Say . InEnglish ( 100L ) ) ;
4242 }
4343
4444 [ Fact ( Skip = "Remove to run test" ) ]
4545 public void One_hundred_twenty_three ( )
4646 {
47- Assert . Equal ( "one hundred twenty-three" , Say . InEnglish ( 123 ) ) ;
47+ Assert . Equal ( "one hundred twenty-three" , Say . InEnglish ( 123L ) ) ;
4848 }
4949
5050 [ Fact ( Skip = "Remove to run test" ) ]
5151 public void One_thousand ( )
5252 {
53- Assert . Equal ( "one thousand" , Say . InEnglish ( 1000 ) ) ;
53+ Assert . Equal ( "one thousand" , Say . InEnglish ( 1000L ) ) ;
5454 }
5555
5656 [ Fact ( Skip = "Remove to run test" ) ]
5757 public void One_thousand_two_hundred_thirty_four ( )
5858 {
59- Assert . Equal ( "one thousand two hundred thirty-four" , Say . InEnglish ( 1234 ) ) ;
59+ Assert . Equal ( "one thousand two hundred thirty-four" , Say . InEnglish ( 1234L ) ) ;
6060 }
6161
6262 [ Fact ( Skip = "Remove to run test" ) ]
6363 public void One_million ( )
6464 {
65- Assert . Equal ( "one million" , Say . InEnglish ( 1000000 ) ) ;
65+ Assert . Equal ( "one million" , Say . InEnglish ( 1000000L ) ) ;
6666 }
6767
6868 [ Fact ( Skip = "Remove to run test" ) ]
6969 public void One_million_two_thousand_three_hundred_forty_five ( )
7070 {
71- Assert . Equal ( "one million two thousand three hundred forty-five" , Say . InEnglish ( 1002345 ) ) ;
71+ Assert . Equal ( "one million two thousand three hundred forty-five" , Say . InEnglish ( 1002345L ) ) ;
7272 }
7373
7474 [ Fact ( Skip = "Remove to run test" ) ]
7575 public void One_billion ( )
7676 {
77- Assert . Equal ( "one billion" , Say . InEnglish ( 1000000000 ) ) ;
77+ Assert . Equal ( "one billion" , Say . InEnglish ( 1000000000L ) ) ;
7878 }
7979
8080 [ Fact ( Skip = "Remove to run test" ) ]
8181 public void A_big_number ( )
8282 {
83- Assert . Equal ( "nine hundred eighty-seven billion six hundred fifty-four million three hundred twenty-one thousand one hundred twenty-three" , Say . InEnglish ( 987654321123 ) ) ;
83+ Assert . Equal ( "nine hundred eighty-seven billion six hundred fifty-four million three hundred twenty-one thousand one hundred twenty-three" , Say . InEnglish ( 987654321123L ) ) ;
8484 }
8585
8686 [ Fact ( Skip = "Remove to run test" ) ]
8787 public void Numbers_below_zero_are_out_of_range ( )
8888 {
89- Assert . Throws < ArgumentOutOfRangeException > ( ( ) => Say . InEnglish ( - 1 ) ) ;
89+ Assert . Throws < ArgumentOutOfRangeException > ( ( ) => Say . InEnglish ( - 1L ) ) ;
9090 }
9191
9292 [ Fact ( Skip = "Remove to run test" ) ]
9393 public void Numbers_above_999_999_999_999_are_out_of_range ( )
9494 {
95- Assert . Throws < ArgumentOutOfRangeException > ( ( ) => Say . InEnglish ( 1000000000000 ) ) ;
95+ Assert . Throws < ArgumentOutOfRangeException > ( ( ) => Say . InEnglish ( 1000000000000L ) ) ;
9696 }
9797}
0 commit comments