public void PalinPerm3() { var pal = new PalindromePermutationClass(); var expected = false; var actual = pal.PalindromePermutation("qwerty"); Assert.AreEqual(expected, actual); }
public void PalinPerm4() { var pal = new PalindromePermutationClass(); var expected = false; var actual = pal.PalindromePermutation("asdfghfdsa"); //there's a single 'g' and a single 'h', so this should be false Assert.AreEqual(expected, actual); }
public void PalinPerm2() { var pal = new PalindromePermutationClass(); var expected = true; var actual = pal.PalindromePermutation("aaaa"); Assert.AreEqual(expected, actual); }