Пример #1
0
 def test_n_greater_than_t(self):
     self.assertLess(inc_exc.prob_atleastonemiss(10, 5) - 1, .000001)
Пример #2
0
 def test_n2_t3(self):
     self.assertLess(inc_exc.prob_atleastonemiss(2, 3) - .25, .000001)
Пример #3
0
 def test_n3_t3(self):
     self.assertLess(inc_exc.prob_atleastonemiss(3, 3)-.777777777778, .000001)
Пример #4
0
 def test_n2_t2(self):
     self.assertEqual(inc_exc.prob_atleastonemiss(2, 2), .5)