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