Exemplo n.º 1
0
        public void GetCompareWord_True()
        {
            //Arrange
            string  testWord   = "bread";
            Anagram newAnagram = new Anagram(testWord);

            newAnagram.Save();

            //Act
            List <Anagram> instances = newAnagram.GetList();
            Anagram        savedItem = instances[0];
            string         results   = instances[0].GetCompareWord();

            //Assert
            Assert.AreEqual(testWord, results);
        }