From f465d1112ebb958a58046b707f0825289e05aea8 Mon Sep 17 00:00:00 2001 From: KKlochko Date: Fri, 20 Oct 2023 22:03:10 +0300 Subject: [PATCH] Remove the test for FrequencyAnalyzer. --- .../analyzers/caesar_test.clj | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/cipher_analytical_machine/analyzers/caesar_test.clj b/test/cipher_analytical_machine/analyzers/caesar_test.clj index 84e1bba..2c2977d 100644 --- a/test/cipher_analytical_machine/analyzers/caesar_test.clj +++ b/test/cipher_analytical_machine/analyzers/caesar_test.clj @@ -74,13 +74,3 @@ (is (= (cs/lower-case plaintext) (get-plaintext ciphertext symbols frequencies)))))) -(deftest frequency-analizer-get-plaintext-test - (let [plaintext "abc" - ciphertext "bca" - key 1 - symbols "abc" - frequencies "etaoinsrhldcumfpgwybvkxjqz"] - (testing "The ciphertext is 'bca' and key is 1." - (is (= plaintext - (frequency-analizer-get-plaintext ciphertext symbols frequencies)))))) -