示例#1
0
 def test_float_unacceptable(self):
     self.assertTrue(JSTLexer.string_to_float_fails('1.8E+308'),
                     "'1.8E+308' is too big")
示例#2
0
 def test_float_unacceptable(self):
     self.assertTrue(JSTLexer.string_to_float_fails("1.8E+308"), "'1.8E+308' is too big")
示例#3
0
 def test_float_acceptable(self):
     self.assertFalse(JSTLexer.string_to_float_fails('1.123'),
                      "1.123 is an acceptable float")
示例#4
0
 def test_float_acceptable(self):
     self.assertFalse(JSTLexer.string_to_float_fails("1.123"), "1.123 is an acceptable float")