X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=tests%2Ftest_column_transposition.py;h=4639d6a704879ebf1d4c5cf35654bb6ed093ed2e;hb=748b5cceaa346d3097c58229ea04ead0c7e3f48e;hp=31b3417f3f7d51d25d4d4d20a60ea840ac8ccbbd;hpb=3350a462f460e81d96c587466f5b6a88cbba1f7e;p=szyfrow.git diff --git a/tests/test_column_transposition.py b/tests/test_column_transposition.py index 31b3417..4639d6a 100644 --- a/tests/test_column_transposition.py +++ b/tests/test_column_transposition.py @@ -79,7 +79,7 @@ def test_column_transposition_break(): for word in 'encipher fourteen keyword'.split(): used_translist[transpositions_of(word)] += [word] - (key, fill, empty), score = column_transposition_break_mp(ciphertext, + (key, fill, empty), score = column_transposition_break(ciphertext, translist=used_translist) assert key == transpositions_of(expected_key) @@ -98,7 +98,7 @@ def test_scytale_break(): expected_score = Pbigrams(plaintext) ciphertext = scytale_encipher(plaintext, expected_key) - key, score = scytale_break_mp(ciphertext) + key, score = scytale_break(ciphertext) assert key == expected_key assert score == pytest.approx(expected_score)