示例#1
0
 def test_price_display_hundred(self):
     v = price_display(100)
     self.assertEqual(v, "1.00 kr.")
示例#2
0
 def test_price_display_zero(self):
     v = price_display(0)
     self.assertEqual(v, "0.00 kr.")
示例#3
0
 def test_price_display_one(self):
     v = price_display(1)
     self.assertEqual(v, "0.01 kr.")
示例#4
0
 def test_price_display_none(self):
     v = price_display(None)
     self.assertEqual(v, "0.00 kr.")