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