Пример #1
0
 def test_true_2(self):
     self.assertTrue(calculate_total([57, 2, 1], []))
Пример #2
0
 def test_true(self):
     self.assertTrue(calculate_total([1, 2, 2], [1, 0, 0]))
Пример #3
0
 def test_false_2(self):
     self.assertFalse(calculate_total([], [3, 4, 3]))
Пример #4
0
 def test_false_3(self):
     self.assertFalse(calculate_total([], []))
Пример #5
0
 def test_false(self):
     self.assertFalse(calculate_total([6, 45, 1], [1, 55, 0]))