|
@@ -178,6 +178,8 @@ class TestBasetypes extends Test {
|
|
|
eq( Std.parseInt(null), null );
|
|
|
eq( Std.parseInt("0xFF"), 255 );
|
|
|
eq( Std.parseInt("0x123"), 291 );
|
|
|
+ eq( Std.parseInt("0XFF"), 255 );
|
|
|
+ eq( Std.parseInt("0X123"), 291 );
|
|
|
unspec(function() Std.parseInt("0xFG"));
|
|
|
|
|
|
eq( Std.parseFloat("0"), 0. );
|