Update the FrequencyAnalyzer to use the frequency string instead.
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-12 22:10:41 +03:00
parent de35d4e2d3
commit 043257bb64
3 changed files with 6 additions and 4 deletions
@@ -79,7 +79,7 @@
ciphertext "bca"
key 1
symbols "abc"
frequencies sf/english-letter-frequencies]
frequencies "etaoinsrhldcumfpgwybvkxjqz"]
(testing "The ciphertext is 'bca' and key is 1."
(is (= plaintext
(frequency-analizer-get-plaintext ciphertext symbols frequencies))))))