public void IsPermutationTest_string_permutations()
 {
     Assert.IsTrue(ArrayAndString.IsPermutation("abc", "abc"));
     Assert.IsTrue(ArrayAndString.IsPermutation("abc", "acb"));
     Assert.IsTrue(ArrayAndString.IsPermutation("abc", "bac"));
     Assert.IsTrue(ArrayAndString.IsPermutation("abc", "bca"));
     Assert.IsTrue(ArrayAndString.IsPermutation("abc", "cab"));
     Assert.IsTrue(ArrayAndString.IsPermutation("abc", "cba"));
 }
 public void IsPermutation_empty_strings_returns_false()
 {
     Assert.IsFalse(ArrayAndString.IsPermutation(String.Empty, String.Empty));
 }
 public void IsPermutationTest_string_permutation_of_itself_is_true()
 {
     Assert.IsTrue(ArrayAndString.IsPermutation("abc", "abc"));
 }
 public void IsPermutation_different_length_strings_returns_false()
 {
     Assert.IsFalse(ArrayAndString.IsPermutation("abc", "ab"));
 }