def test_random_digits_generates_random_digits_as_result(self): i = SuperRandom(random_digits=1) self.assertEqual(type(i.random_digits), type('1'))
def test_random_int_generate_a_random_int_value(self): i = SuperRandom(random_int=10) self.assertEqual(i.random_int, 10)
def test_random_float_generate_a_random_float_value_with_types(self): i = SuperRandom(random_tfloat=10.0) self.assertEqual(i.random_tfloat, 10.0)
def test_random_int_generate_a_random_callable_value(self): i = SuperRandom(c_random_int=10) self.assertEqual(i.c_random_int, 10)
def test_random_float_generate_a_random_float_value_with_callable(self): i = SuperRandom(random_cfloat=10.0) self.assertEqual(i.random_cfloat, 10.0)