private void AssertFalse(string s1, string s2, IStringRotationChecker stringRotationChecker) { bool expected = false; bool actual = stringRotationChecker.IsRotatedString(s1, s2); Assert.AreEqual(expected, actual); }
private void IsStringRotation(IStringRotationChecker stringRotationChecker) { string s1 = "iamastring"; string s2 = "astringiam"; bool expected = true; bool actual = stringRotationChecker.IsRotatedString(s1, s2); Assert.AreEqual(expected, actual); }