public void TestIsAABXXYIso() { string str1 = "aab"; string str2 = "xxy"; bool result = IsoLibrary.CheckIso(str1, str2); Assert.IsTrue(result, String.Format("Expected {0} to be: true. Got {1}", str1 + "-" + str2, result)); }
public void TestIsAABYXXNotIso() { string str1 = "aab"; string str2 = "yxx"; bool result = IsoLibrary.CheckIso(str1, str2); Assert.IsFalse(result, String.Format("Expected {0} to be: false. Got {1}", str1 + "-" + str2, result)); }