public void TestAnagramMaker_WhenOneStringEmpty_ThenFalse() { //arrange string firstString = "nono"; string secondString = ""; //act bool output = false; //assert Assert.AreEqual(output, Anagram.AnagramChecker(firstString, secondString)); }
public void TestAnagramMaker_WhenStringsEqualsLenghtWithUpperLetter_ThenTrue() { //arrange string firstString = "nono"; string secondString = "NoNo"; //act bool output = false; //assert Assert.AreEqual(output, Anagram.AnagramChecker(firstString, secondString)); }
public void TestAnagramMaker_WhenStringsEqualsLenghtButNotAnagram_ThenFalse() { //arrange string firstString = "kutyamutya"; string secondString = "nuoyaluzia"; //act bool output = false; //assert Assert.AreEqual(output, Anagram.AnagramChecker(firstString, secondString)); }
public void TestAnagramMaker_WhenStringsEqualsLenghtWithSpace_ThenFalse() { //arrange string firstString = "kutyamutya"; string secondString = "tyatya muku"; //act bool output = false; //assert Assert.AreEqual(output, Anagram.AnagramChecker(firstString, secondString)); }
public void TestAnagramMaker_WhenStringsDifferentLenght_ThenFalse() { //arrange string firstString = "kutyamutya"; string secondString = "nyuszifulimulike"; //act bool output = false; //assert Assert.AreEqual(output, Anagram.AnagramChecker(firstString, secondString)); }