public void SetAlphabet_EmptyList_ShouldDoNothing() { CezarEncryptor toTest = new CezarEncryptor(); string prevAlphabet = toTest.GetAlphabet(); toTest.SetAlphabet("", new CultureInfo("tr-TR", false)); string postAlphabet = toTest.GetAlphabet(); Assert.AreEqual(prevAlphabet, postAlphabet); }
public void GetAlphabetTest_Default_ShouldBeTurkish() { CezarEncryptor toTest = new CezarEncryptor(); var res = toTest.GetAlphabet(); Assert.AreEqual(alphabet, res); }