def test_good6(self):
   self.money = Currency.check_currency("352.46")
   correct_money = 352.46
   self.assertEqual( correct_money, self.money)
 def test_good4(self):
   self.money = Currency.check_currency("5362907888969")
   correct_money = 5.362907888969e+12
   self.assertEqual( correct_money, self.money)
 def test_good5(self):
   self.money = Currency.check_currency("35532")
   correct_money = 35532.00
   self.assertEqual( correct_money, self.money)
 def test_middle3(self):
   self.money = Currency.check_currency("460.085634")
   correct_money = 460.09
   self.assertEqual( correct_money, self.money)
 def test_bad2(self):
   self.money = Currency.check_currency("%£353")
   correct_money = 353.00
   self.assertEqual( correct_money, self.money)
 def test_bad1(self):
   self.money = Currency.check_currency("09534.2343490578245")
   correct_money = 9534.23
   self.assertEqual( correct_money, self.money)
 def test_vbad0(self):
   self.money = Currency.check_currency("thirte")
   correct_money = 0.0
   self.assertEqual( correct_money, self.money)
 def setUp(self):
   self.money = Currency.check_currency("")