Exemple #1
0
 public void SetUp()
 {
     Matcher = new EqualConstraint( 4 );
     GoodValues = new object[] {4, 4.0f, 4.0d, 4.0000m};
     BadValues = new object[] {5, null, "Hello"};
     Description = "4";
 }
 public void SetUp()
 {
     Matcher = new EqualConstraint( "Hello World!" ).IgnoreCase;
     GoodValues = new object[] {"hello world!", "Hello World!", "HELLO world!"};
     BadValues = new object[] {"goodbye", "Hello Friends!", string.Empty, null};
     Description = "\"Hello World!\", ignoring case";
 }