public void AreTwoStringsAnagrams2Test() { string s1 = "silent"; string s2 = "listen"; bool expected = true; bool actual = Questions.AreTwoStringsAnagrams2(s1, s2); Assert.AreEqual(actual, expected); //This time false s1 = "silent"; s2 = "listeg"; expected = false; actual = Questions.AreTwoStringsAnagrams2(s1, s2); Assert.AreEqual(actual, expected); //// One more example case s1 = "dogo"; s2 = "hogo"; expected = false; actual = Questions.AreTwoStringsAnagrams2(s1, s2); Assert.AreEqual(actual, expected); // Different sizes case s1 = "dogoLong"; s2 = "dogo"; expected = false; actual = Questions.AreTwoStringsAnagrams2(s1, s2); Assert.AreEqual(actual, expected); }