File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
test/com/jwetherell/algorithms/numbers/test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,17 +91,17 @@ public void testToEnglish() {
9191 assertTrue ("toEnglish error. a=" +a +" expected=" +check +" got=" +english , (check .equals (english )));
9292
9393 a = 199 ;
94- check = "one-hundred ninty -nine" ;
94+ check = "one-hundred ninety -nine" ;
9595 english = Integers .toEnglish (a );
9696 assertTrue ("toEnglish error. a=" +a +" expected=" +check +" got=" +english , (check .equals (english )));
9797
9898 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" ;
100100 english = Integers .toEnglish (a );
101101 assertTrue ("toEnglish error. a=" +a +" expected=" +check +" got=" +english , (check .equals (english )));
102102
103103 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" ;
105105 english = Integers .toEnglish (a );
106106 assertTrue ("toEnglish error. a=" +a +" expected=" +check +" got=" +english , (check .equals (english )));
107107 }
You can’t perform that action at this time.
0 commit comments