public void SetAlphabet_SmallList_CountShouldMatch()
        {
            CezarEncryptor toTest = new CezarEncryptor();

            toTest.SetAlphabet("A,B,C", new CultureInfo("tr-tr", false));

            Assert.AreEqual(3, toTest.charMapList.Count);
        }
        public void SetAlphabet_ListWithWords_ShouldIgnoreWords()
        {
            CezarEncryptor toTest = new CezarEncryptor();

            toTest.SetAlphabet("A,B,C,Ali,D", new CultureInfo("tr-tr", false));

            Assert.AreEqual(4, toTest.charMapList.Count);
        }
        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);
        }