def test_equals_8(self):
     self.assertEqual(loose_change(3.9), {
         'Nickels': 0,
         'Pennies': 3,
         'Dimes': 0,
         'Quarters': 0
     })
 def test_equals(self):
     self.assertEqual(loose_change(56), {
         'Nickels': 1,
         'Pennies': 1,
         'Dimes': 0,
         'Quarters': 2
     })
 def test_equals_5(self):
     self.assertEqual(loose_change(91), {
         'Nickels': 1,
         'Pennies': 1,
         'Dimes': 1,
         'Quarters': 3
     })
 def test_equals_4(self):
     self.assertEqual(loose_change(29), {
         'Nickels': 0,
         'Pennies': 4,
         'Dimes': 0,
         'Quarters': 1
     })
 def test_equals_3(self):
     self.assertEqual(loose_change(4.935), {
         'Nickels': 0,
         'Pennies': 4,
         'Dimes': 0,
         'Quarters': 0
     })
Esempio n. 6
0
 def test_equals(self):
     self.assertEqual(loose_change(56), {'Nickels': 1, 'Pennies': 1,
                                         'Dimes': 0, 'Quarters': 2})
Esempio n. 7
0
 def test_equals_8(self):
     self.assertEqual(loose_change(3.9), {'Nickels': 0, 'Pennies': 3,
                                          'Dimes': 0, 'Quarters': 0})
Esempio n. 8
0
 def test_equals_5(self):
     self.assertEqual(loose_change(91), {'Nickels': 1, 'Pennies': 1,
                                         'Dimes': 1, 'Quarters': 3})
Esempio n. 9
0
 def test_equals_4(self):
     self.assertEqual(loose_change(29), {'Nickels': 0, 'Pennies': 4,
                                         'Dimes': 0, 'Quarters': 1})
Esempio n. 10
0
 def test_equals_3(self):
     self.assertEqual(loose_change(4.935), {'Nickels': 0, 'Pennies': 4,
                                            'Dimes': 0, 'Quarters': 0})