public void NestedRotor_ReverseMappslettersWithOffsetZero() { char expected = 'A'; NestedRotor Rotor_I = CreateRotorI(); char actual = Rotor_I.ReverseConvert('E'); Assert.AreEqual(expected, actual); }
public void NestedRotor_ReverseMappslettersWithRingSetting() { char expected = 'A'; NestedRotor Rotor_I = CreateRotorI(); Rotor_I.SetRingSetting('B'); char actual = Rotor_I.ReverseConvert('K'); Assert.AreEqual(expected, actual); }
public void NestedRotor_ReverseMapsLettersWithOffset27() { char expected = 'D'; NestedRotor Rotor_I = CreateRotorI(); Rotor_I.Advance(27); char actual = Rotor_I.ReverseConvert('K'); Assert.AreEqual(expected, actual); }