public void Spec02() { using (var testable = new IsIgnoredTestable()) { testable.Ignored.Add(@"\path\to\"); var actual = testable.Instance.IsIgnored(testable.Ignored); I.Expect(actual).ToBeTrue(); } }
public void Spec03() { using (var testable = new IsIgnoredTestable()) { testable.Ignored.Add(@"path\to"); testable.Ignored.Add(@"to\path"); testable.Ignored.Add(@"\to\"); testable.Ignored.Add(@"\path\from\"); var actual = testable.Instance.IsIgnored(testable.Ignored); I.Expect(actual).ToBeFalse(); } }