def test_min_multi_value(self): data = [10, 20, 30, 40, 50] actual = Math.min(data) self.assertEqual(10, actual)
def test_min_multi_value_with_null(self): data = [10, 20, None, 30, 40, 50] actual = Math.min(data) self.assertEqual(10, actual)
def test_min_single_value(self): data = [10] actual = Math.min(data) self.assertEqual(data[0], actual)