Пример #1
0
 public void SetUp()
 {
     Matcher = new StartsWithConstraint( "hello" ).IgnoreCase;
     GoodValues = new object[] {"Hello", "HELLO there"};
     BadValues = new object[] {"goodbye", "What the hell?", "I said hello", "say Hello to fred", string.Empty, null};
     Description = "String starting with \"hello\", ignoring case";
 }
Пример #2
0
 public void SetUp()
 {
     Matcher = new StartsWithConstraint( "hello" );
     GoodValues = new object[] {"hello", "hello there"};
     BadValues = new object[] {"goodbye", "What the hell?", "I said hello", "say hello to fred", string.Empty, null};
     Description = "String starting with \"hello\"";
 }