X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests.js;h=a0de5febd8ee3ceb56165b11226d8b10898cfceb;hb=5c653a12e7f76ce026c8953cba6753200dc3c6c3;hp=c3d741835d26c5dcf203baaac2055fa28a3b4bb2;hpb=95f04905c13775e00c8dc13f884a17a4e69aaf29;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git diff --git a/tests.js b/tests.js index c3d7418..a0de5fe 100644 --- a/tests.js +++ b/tests.js @@ -2673,6 +2673,23 @@ page.open(url, function(status) { words: 54, strength: "extremely strong", }, + // Case insensitivity to duplicate cards + { + entropy: "asAS", + type: "card (1 duplicate: AS)", + events: 2, + bits: 12, + words: 0, + strength: "extremely weak", + }, + { + entropy: "ASas", + type: "card (1 duplicate: as)", + events: 2, + bits: 12, + words: 0, + strength: "extremely weak", + }, ]; // use entropy page.evaluate(function() {