File tree 1 file changed +3
-3
lines changed
test/com/jwetherell/algorithms/numbers/test
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,17 +91,17 @@ public void testToEnglish() {
91
91
assertTrue ("toEnglish error. a=" +a +" expected=" +check +" got=" +english , (check .equals (english )));
92
92
93
93
a = 199 ;
94
- check = "one-hundred ninty -nine" ;
94
+ check = "one-hundred ninety -nine" ;
95
95
english = Integers .toEnglish (a );
96
96
assertTrue ("toEnglish error. a=" +a +" expected=" +check +" got=" +english , (check .equals (english )));
97
97
98
98
a = Integer .MAX_VALUE ; // 2,147,483,647
99
- check = "two-billion one-hundred fourty -seven-million four-hundred eighty-three-thousand six-hundred fourty -seven" ;
99
+ check = "two-billion one-hundred forty -seven-million four-hundred eighty-three-thousand six-hundred forty -seven" ;
100
100
english = Integers .toEnglish (a );
101
101
assertTrue ("toEnglish error. a=" +a +" expected=" +check +" got=" +english , (check .equals (english )));
102
102
103
103
a = Integer .MIN_VALUE +1 ; // -2,147,483,647
104
- check = "negative two-billion one-hundred fourty -seven-million four-hundred eighty-three-thousand six-hundred fourty -seven" ;
104
+ check = "negative two-billion one-hundred forty -seven-million four-hundred eighty-three-thousand six-hundred forty -seven" ;
105
105
english = Integers .toEnglish (a );
106
106
assertTrue ("toEnglish error. a=" +a +" expected=" +check +" got=" +english , (check .equals (english )));
107
107
}
You can’t perform that action at this time.
0 commit comments