small bug fixes

This commit is contained in:
Conor Patrick
2019-03-20 21:03:03 -04:00
parent b62e9906c7
commit 2d233f164e
2 changed files with 9 additions and 17 deletions

View File

@@ -1786,7 +1786,8 @@ class Tester:
entropy += sc.get_rng()
with Test("Test entropy is close to perfect"):
assert shannon_entropy(entropy) > 7.98
sum = shannon_entropy(entropy)
assert sum > 7.98
print("Entropy is %.5f bits per byte." % sum)
with Test("Test Solo version command"):