]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - tests.js
Duplicate card detection is case insensitive
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / tests.js
index c3d741835d26c5dcf203baaac2055fa28a3b4bb2..a0de5febd8ee3ceb56165b11226d8b10898cfceb 100644 (file)
--- 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() {