public void IsAnagramTest() { string first = "silver"; string second = "livers"; bool output = true; Assert.AreEqual(output, anaCLass.IsAnagram(first, second)); }
public void TestAnagram_WhenInputAlmaAmla_ThenTrue() { string input1 = "alma"; string input2 = "amla"; bool output = true; Assert.AreEqual(output, anagramClass.IsAnagram(input1, input2)); }
public void ReallyAnAnagram(bool expected, string a, string b) { AnagramClass anagram = new AnagramClass(); Assert.Equal(expected, anagram.IsAnagram(a, b)); }