public void Contains_MatchWithTableLookup_ReturnsTrue() { Assert.IsTrue(KMP.Contains("AAACAAAA", "AAAAACAAAA")); }
public void Contains_SubstringMatchNoBackTracking_ReturnsTrue() { Assert.IsTrue(KMP.Contains("ab", "jdhfgfabsdkfh")); }
public void Contains_NoMatch_ReturnsFalse() { Assert.IsFalse(KMP.Contains("ab", "vvvvvvv")); }
public void Contains_PerfectMatch_ReturnsTrue() { Assert.IsTrue(KMP.Contains("AAACAAAA", "AAACAAAA")); }