def test_math_mean(self):
     self.assertEqual(Math.mean([4, 5, None, 3]), 4)
     self.assertEqual(Math.mean([None]), 0)
     self.assertEqual(Math.mean([3, 4]), 3.5)
 def test_mean_single_value(self):
     data = [10]
     actual = Math.mean(data)
     self.assertEqual(data[0], actual)
 def test_mean_multi_value_with_null(self):
     data = [10, 20, None, 30, 40, 50]
     actual = Math.mean(data)
     self.assertEqual(30, actual)
 def test_math_mean(self):
     self.assertEqual(Math.mean([4, 5, None, 3]), 4)
     self.assertEqual(Math.mean([None]), 0)
     self.assertEqual(Math.mean([3, 4]), 3.5)