def test_uniform_cdf_greater_than_one(self): """probability -- uniform cdf greater than 1""" self.assertEqual(1, probability.uniform_cdf(3))
def test_uniform_cdf_equal_to_zero(self): """probability -- uniform_cdf equal to zero""" self.assertEqual(0, probability.uniform_cdf(-4))
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))