def test_Cochran_Sample_Size(self):
     self.assertEqual(cochran(50, 95, 0.05), result_cochran(50, 95, 0.05))
Exemple #2
0
 def cochran(self,proportion, probability, precision):
     self.result = cochran(proportion,probability,precision)
     return self.result