We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent becfd07 commit aca65f8Copy full SHA for aca65f8
ciphers/break_vigenere.py
@@ -216,7 +216,5 @@ def find_key_from_vigenere_cipher(ciphertext: str) -> str:
216
# print(key)
217
218
219
-
220
# ---------- TESTS ----------
221
# def test_index_of_coincidence(f)
222
ciphers/tests/test.py
@@ -4,6 +4,6 @@
4
5
class TestBreakVigenere(unittest.TestCase):
6
def test_index_of_coincidence(self):
7
- dictionary = {'a': 5, 'b': 1, 'c': 4}
+ dictionary = {"a": 5, "b": 1, "c": 4}
8
ic = index_of_coincidence(dictionary, 100)
9
- self.assertAlmostEqual(ic, 0.0032323232323232)
+ self.assertAlmostEqual(ic, 0.0032323232323232)
0 commit comments