Ejemplo n.º 1
0
        public void ResetToInitialState_ResetSuccessful()
        {
            Setup();

            char expected  = '4';
            char encrypted = enigma.PermLetter(expected);

            enigma.ResetToInitialState();
            char actual = enigma.PermLetter(encrypted);

            Assert.AreEqual(expected, actual);
        }