@@ -1013,7 +1013,9 @@ void testIsParsable() {
10131013 assertFalse (NumberUtils .isParsable ("pendro" ));
10141014 assertFalse (NumberUtils .isParsable ("64, 2" ));
10151015 assertFalse (NumberUtils .isParsable ("64.2.2" ));
1016+ assertFalse (NumberUtils .isParsable ("64.." ));
10161017 assertTrue (NumberUtils .isParsable ("64." ));
1018+ assertTrue (NumberUtils .isParsable ("-64." ));
10171019 assertFalse (NumberUtils .isParsable ("64L" ));
10181020 assertFalse (NumberUtils .isParsable ("-" ));
10191021 assertFalse (NumberUtils .isParsable ("--2" ));
@@ -1026,6 +1028,8 @@ void testIsParsable() {
10261028 assertTrue (NumberUtils .isParsable ("-018.2" ));
10271029 assertTrue (NumberUtils .isParsable ("-.236" ));
10281030 assertTrue (NumberUtils .isParsable ("2." ));
1031+ // TODO assertTrue(NumberUtils.isParsable("2.f"));
1032+ // TODO assertTrue(NumberUtils.isParsable("2.d"));
10291033 }
10301034
10311035 /**
@@ -1078,6 +1082,9 @@ void testLang1729IsParsableByte() {
10781082 @ Test
10791083 void testLang1729IsParsableDouble () {
10801084 assertTrue (isParsableDouble ("1" ));
1085+ assertTrue (isParsableDouble ("1." ));
1086+ // TODO assertTrue(isParsableDouble("1.f"));
1087+ // TODO assertTrue(isParsableDouble("1.d"));
10811088 assertTrue (isParsableDouble ("1.0" ));
10821089 assertFalse (isParsableDouble ("1.0." ));
10831090 assertFalse (isParsableDouble ("1 2 3" ));
@@ -1087,6 +1094,9 @@ void testLang1729IsParsableDouble() {
10871094 @ Test
10881095 void testLang1729IsParsableFloat () {
10891096 assertTrue (isParsableFloat ("1" ));
1097+ assertTrue (isParsableFloat ("1." ));
1098+ // TODO assertTrue(isParsableFloat("1.f"));
1099+ // TODO assertTrue(isParsableFloat("1.d"));
10901100 assertTrue (isParsableFloat ("1.0" ));
10911101 assertFalse (isParsableFloat ("1.0." ));
10921102 assertFalse (isParsableFloat ("1 2 3" ));
0 commit comments