6 import cipher
.keyword_cipher
8 import cipher
.column_transposition
9 import cipher
.railfence
15 import cipher
.pocket_enigma
17 import support
.language_models
19 import support
.segment
20 import support
.text_prettify
21 import support
.utilities
24 def load_tests(loader
, tests
, ignore
):
25 tests
.addTests(doctest
.DocTestSuite(cipher
.caesar
))
26 tests
.addTests(doctest
.DocTestSuite(cipher
.affine
))
27 tests
.addTests(doctest
.DocTestSuite(cipher
.keyword_cipher
))
28 tests
.addTests(doctest
.DocTestSuite(cipher
.polybius
))
29 tests
.addTests(doctest
.DocTestSuite(cipher
.column_transposition
))
30 tests
.addTests(doctest
.DocTestSuite(cipher
.railfence
))
31 tests
.addTests(doctest
.DocTestSuite(cipher
.cadenus
))
32 tests
.addTests(doctest
.DocTestSuite(cipher
.hill
))
33 tests
.addTests(doctest
.DocTestSuite(cipher
.amsco
))
34 tests
.addTests(doctest
.DocTestSuite(cipher
.bifid
))
35 tests
.addTests(doctest
.DocTestSuite(cipher
.autokey
))
36 tests
.addTests(doctest
.DocTestSuite(cipher
.pocket_enigma
,
37 extraglobs
={'pe': cipher
.pocket_enigma
.PocketEnigma(1, 'a')}))
39 tests
.addTests(doctest
.DocTestSuite(support
.language_models
))
40 tests
.addTests(doctest
.DocTestSuite(support
.norms
))
41 tests
.addTests(doctest
.DocTestSuite(support
.segment
))
42 tests
.addTests(doctest
.DocTestSuite(support
.text_prettify
))
43 tests
.addTests(doctest
.DocTestSuite(support
.utilities
))