public void Ints_ContentsEqualConstraint() { const int expected = 6; const int actual = 6; var contentsEqualConstraint = new ContentsEqualConstraint(expected); Assert.That(actual, Has.Some.Matches(contentsEqualConstraint)); }
public void Strings_ContentsEqualConstraint() { const string expected = "Joe"; const string actual = "Joe"; var contentsEqualConstraint = new ContentsEqualConstraint(expected); Assert.That(actual, Has.Some.Matches(contentsEqualConstraint)); }