def test_equals_8(self): self.assertEqual(given_nth_value(self.list_1, -1, 'max'), 'Incorrect value for k')
def test_equals_9(self): self.assertEqual(given_nth_value(self.list_1, 'string', 2), 'Incorrect value for k')
def test_equals_6(self): self.assertEqual(given_nth_value(self.list_3, 2, 'mix'), 'Valid entries: \'max\' or \'min\'')
def test_equals_7(self): self.assertEqual(given_nth_value(self.list_3, 2, 'MaX'), 22)
def test_equals_5(self): self.assertEqual(given_nth_value([], 4, 'max'), 'No values in the array')
def test_equals_4(self): self.assertEqual(given_nth_value(self.list_2, 4, 'max'), 'Invalid entry list')
def test_equals_3(self): self.assertEqual(given_nth_value(self.list_1, 13, 'max'), 'No way')
def test_equals_2(self): self.assertEqual(given_nth_value(self.list_1, 6, 'max'), 6)
def test_equals(self): self.assertEqual(given_nth_value(self.list_1, 5, 'min'), 4)