Exemplo n.º 1
0
 def test_arithmeticMean_return_1(self):
     list = [1, 1, 1]
     stat = Statistics(list)
     actual = stat.arithmeticMean()
     expected = 1
     self.assertEqual(actual, expected)
Exemplo n.º 2
0
 def test_arthmeticMean_return_3(self):
     list = [1, 2, 3, 4, 5]
     stat = Statistics(list)
     actual = stat.arithmeticMean()
     expected = 3
     self.assertEqual(actual, expected)