Add more assertions to keanu random tests
@@ -6,9 +6,11 @@ def test_default_keanu_random():
random = keanu_random.next_double()
assert type(random) == float
+ assert 0 <= random < 1
def test_seeded_keanu_random():
keanu_random = kn.KeanuRandom(1)
random = keanu_random.next_double()
assert type(random) == float
+ assert random == 0.1129943035738381
