You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
406 B
12 lines
406 B
(ns cipher-analytical-machine.symbols.frequencies-test
|
|
(:require
|
|
[clojure.test :refer :all]
|
|
[cipher-analytical-machine.symbols.frequencies :refer :all]))
|
|
|
|
(deftest calculate-char-index-test
|
|
(let [symbol-map english-letter-frequencies]
|
|
(testing "The map must be converted to 'etaoinsrhldcumfpgwybvkxjqz'"
|
|
(is (= "etaoinsrhldcumfpgwybvkxjqz"
|
|
(map-to-string symbol-map))))))
|
|
|