Esempio n. 1
0
 def test_uniform_cdf_greater_than_one(self):
     """probability -- uniform cdf greater than 1"""
     self.assertEqual(1, probability.uniform_cdf(3))
Esempio n. 2
0
 def test_uniform_cdf_equal_to_zero(self):
     """probability -- uniform_cdf equal to zero"""
     self.assertEqual(0, probability.uniform_cdf(-4))
Esempio n. 3
0
 def test_uniform_cdf_greater_or_equal_t0_zero(self):
     """probability -- uniform_cdf greater than or equal to 0"""
     self.assertEqual(0.4, probability.uniform_cdf(0.4))
Esempio n. 4
0
 def test_uniform_cdf_greater_than_one(self):
     """probability -- uniform cdf greater than 1"""
     self.assertEqual(1, probability.uniform_cdf(3))
Esempio n. 5
0
 def test_uniform_cdf_equal_to_zero(self):
     """probability -- uniform_cdf equal to zero"""
     self.assertEqual(0, probability.uniform_cdf(-4))
Esempio n. 6
0
 def test_uniform_cdf_greater_or_equal_t0_zero(self):
     """probability -- uniform_cdf greater than or equal to 0"""
     self.assertEqual(0.4, probability.uniform_cdf(0.4))