public void IsPatternMatch_NoPattern_ReturnsFalse() { Assert.IsFalse(WordPattern.IsPatternMatch("abba", "dog cat dog cat")); }
public void IsPatternMatch_MatchingPattern_ReturnsTrue() { Assert.IsTrue(WordPattern.IsPatternMatch("abba", "dog cat cat dog")); }
public void IsPatternMatch_EmptyStringPattern_ReturnsTrue() { Assert.IsTrue(WordPattern.IsPatternMatch("", "")); }