def test_3_9_2_3_3_returns_true(self): actual = array_front9([3, 9, 2, 3, 3]) expected = True self.assertEqual( actual, expected, 'Expected calling array_front9() with "[3, 9, 2, 3, 3]" to return "True"' )
def test_1_2_9_3_4_returns_true(self): actual = array_front9([1, 2, 9, 3, 4]) expected = True self.assertEqual( actual, expected, 'Expected calling array_front9() with "[1, 2, 9, 3, 4]" to return "True"' )
def test_1_2_3_returns_false(self): actual = array_front9([1, 2, 3]) expected = False self.assertEqual( actual, expected, 'Expected calling array_front9() with "[1, 2, 3]" to return "False"' )
def test_9_returns_true(self): actual = array_front9([9]) expected = True self.assertEqual( actual, expected, 'Expected calling array_front9() with "[9]" to return "True"')