public void BanCamTest() { string wordOne = "ban"; string wordTwo = "cam"; bool isPermuation = PermutationValidator.IsValidPermutation(wordOne, wordTwo); Assert.IsFalse(isPermuation); }
public void EmptyStringNullTest() { string wordOne = ""; string wordTwo = null; bool isPermuation = PermutationValidator.IsValidPermutation(wordOne, wordTwo); Assert.IsTrue(isPermuation); }
public void CatActTest() { string wordOne = "cat"; string wordTwo = "act"; bool isPermuation = PermutationValidator.IsValidPermutation(wordOne, wordTwo); Assert.IsTrue(isPermuation); }
public void CatNullTest() { string wordOne = "cat"; string wordTwo = null; bool isPermuation = PermutationValidator.IsValidPermutation(wordOne, wordTwo); Assert.IsFalse(isPermuation); }