Beispiel #1
0
 def test_many(self):
     t = (44.85555, 3.14, 10)
     s = '44.86, 3.14, 10.00'
     assert_equal(base.pretty_input(t), s)
Beispiel #2
0
 def test_one(self):
     assert_equal(base.pretty_input((-55.2,)), "-55.20")
Beispiel #3
0
 def test_empty(self):
     assert_equal(base.pretty_input(tuple()), "")
Beispiel #4
0
 def test_many(self):
     t = (44.85555, 3.14, 10)
     s = '44.86, 3.14, 10.00'
     assert_equal(base.pretty_input(t), s)
Beispiel #5
0
 def test_one(self):
     assert_equal(base.pretty_input((-55.2, )), "-55.20")
Beispiel #6
0
 def test_empty(self):
     assert_equal(base.pretty_input(tuple()), "")