- // 10 events at 3.32 bits per event
- testEntropyBits(done, "0000101017", "33");
+ // 10 events with 3 bits for each event
+ testEntropyBits(done, "0000101017", "30");
+});
+it("Shows the number of bits of entropy for 10 characters of base 10 account for bias", function(done) {
+ // 9 events with 3 bits per event and 1 event with 1 bit per event
+ testEntropyBits(done, "0000101018", "28");