Exemple #1
0
 def test_format_numeric_with_right_blank(self):
     self.assertEqual(format_numeric("-1.0 "), "-1.0")
Exemple #2
0
 def test_format_numeric_with_correct_negative_int(self):
     self.assertEqual(format_numeric("-1"), "-1")
Exemple #3
0
 def test_format_numeric_with_correct_negative_float_zero(self):
     self.assertEqual(format_numeric("-1.0"), "-1.0")
Exemple #4
0
 def test_format_numeric_with_correct_float(self):
     self.assertEqual(format_numeric("123.123"), "123.123")