def test_robber_5(self): nums = [2, 1, 1, 2] expected = 4 self.assertEqual(robbers.rob(nums), expected)
def test_robber_4(self): nums = [] expected = 0 self.assertEqual(robbers.rob(nums), expected)
def test_robber_2(self): nums = [2, 7, 9, 3, 1] expected = 12 self.assertEqual(robbers.rob(nums), expected)
def test_robber_3(self): nums = [1] expected = 1 self.assertEqual(robbers.rob(nums), expected)
def test_robber_1(self): nums = [1, 2, 3, 1] expected = 4 self.assertEqual(robbers.rob(nums), expected)