Esempio n. 1
0
 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";
 }
Esempio n. 2
0
 public void SetUp()
 {
     TheConstraint        = new NaNConstraint();
     ExpectedDescription  = "NaN";
     StringRepresentation = "<nan>";
 }
Esempio n. 3
0
 public void SetUp()
 {
     theConstraint = new NaNConstraint();
     expectedDescription = "NaN";
     stringRepresentation = "<nan>";
 }