Beispiel #1
0
 def testChebyshevInequalityreturnCI(self):
     list = [1, 2, 3, 4, 5]
     stat = Statistics(list)
     actual = stat.chebyshevInequality()
     expected = 0.5000000000000001
     self.assertEqual(expected, actual)
Beispiel #2
0
 def testChebyshevInequalityreturnNone(self):
     emptyList = []
     stat = Statistics(emptyList)
     actual = stat.chebyshevInequality()
     expected = None
     self.assertEqual(expected, actual)