public void SetUp() { Matcher = new TrueConstraint(); GoodValues = new object[] { true, 2 + 2 == 4 }; BadValues = new object[] { null, "hello", false, 2 + 2 == 5 }; Description = "True"; }
public void SetUp() { theConstraint = new TrueConstraint(); stringRepresentation = "<true>"; expectedDescription = "True"; }
public void Check_WithFalse_ExpectFalse() { var constraint = new TrueConstraint(); Assert.IsFalse(constraint.Check(false)); }
public void Check_WithTrue_ExpectTrue() { var constraint = new TrueConstraint(); Assert.IsTrue(constraint.Check(true)); }
public void SetUp() { theConstraint = new TrueConstraint(); stringRepresentation = "<true>"; expectedDescription = "True"; }