def test_max_multi_value_with_null(self): data = [10, 20, None, 30, 40, 50] actual = Math.max(data) self.assertEqual(50, actual)
def test_max_single_value(self): data = [10] actual = Math.max(data) self.assertEqual(data[0], actual)
def test_max_multi_value_with_null(self): data = [10, 20, None, 30, 40, 50] actual = Math.max(data) self.assertEqual(50, actual)
def test_max_single_value(self): data = [10] actual = Math.max(data) self.assertEqual(data[0], actual)