public void SetUp() { Matcher = new NaNConstraint(); GoodValues = new object[] { double.NaN, float.NaN }; BadValues = new object[] { null, "hello", 42, 4.2, 4.2f, 4.2m, double.PositiveInfinity, double.NegativeInfinity, float.PositiveInfinity, float.NegativeInfinity }; Description = "NaN"; }
public void SetUp() { TheConstraint = new NaNConstraint(); ExpectedDescription = "NaN"; StringRepresentation = "<nan>"; }
public void SetUp() { theConstraint = new NaNConstraint(); expectedDescription = "NaN"; stringRepresentation = "<nan>"; }