示例#1
0
 def test_2_5_returns_true(self):
     actual = has23([2, 5])
     expected = True
     self.assertEqual(
         actual, expected, 'Expected calling has23() with [2, 5] to return "True"')
示例#2
0
 def test_9_5_returns_false(self):
     actual = has23([9, 5])
     expected = False
     self.assertEqual(
         actual, expected, 'Expected calling has23() with [9, 5] to return "False"')