|
|
@ -3,7 +3,7 @@
|
|
|
|
[clojure.test :refer :all]
|
|
|
|
[clojure.test :refer :all]
|
|
|
|
[cipher-analytical-machine.symbols.frequencies :refer :all]))
|
|
|
|
[cipher-analytical-machine.symbols.frequencies :refer :all]))
|
|
|
|
|
|
|
|
|
|
|
|
(deftest calculate-char-index-test
|
|
|
|
(deftest map-to-string-test
|
|
|
|
(let [symbol-map english-letter-frequencies]
|
|
|
|
(let [symbol-map english-letter-frequencies]
|
|
|
|
(testing "The map must be converted to 'etaoinsrhldcumfpgwybvkxjqz'"
|
|
|
|
(testing "The map must be converted to 'etaoinsrhldcumfpgwybvkxjqz'"
|
|
|
|
(is (= "etaoinsrhldcumfpgwybvkxjqz"
|
|
|
|
(is (= "etaoinsrhldcumfpgwybvkxjqz"
|
|
|
|