Mercurial > public > cpp-enigma
comparison enigma/tests/test_rotor.t.h @ 3:f4e25e6b76c3
Created plugboard class and tests.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 23 Jun 2012 23:28:17 -0500 |
parents | 713fa2a9ea9a |
children |
comparison
equal
deleted
inserted
replaced
2:713fa2a9ea9a | 3:f4e25e6b76c3 |
---|---|
16 using namespace enigma; | 16 using namespace enigma; |
17 | 17 |
18 const char* const wiring = "EKMFLGDQVZNTOWYHXUSPAIBRCJ"; | 18 const char* const wiring = "EKMFLGDQVZNTOWYHXUSPAIBRCJ"; |
19 | 19 |
20 | 20 |
21 class MyTestSuite1 : public CxxTest::TestSuite | 21 class rotor_test_suite : public CxxTest::TestSuite |
22 { | 22 { |
23 public: | 23 public: |
24 | 24 |
25 void test_bad_wiring() | 25 void test_bad_wiring() |
26 { | 26 { |