예제 #1
0
 public void Simple_NotEqual()
 {
     var value = "foobar";
     var item1 = new SimpleString(value.ToLower());
     var item2 = new SimpleString(value.ToUpper());
     Assert.NotEqual(item1, item2);
 }
예제 #2
0
 public void Simple_Equal()
 {
     var value = "foobar";
     var item1 = new SimpleString(value);
     var item2 = new SimpleString(value);
     Assert.Equal(item1, item2);
 }
예제 #3
0
 public void Simple_NotEqual_Direct()
 {
     var value = "foobar";
     var item1 = new SimpleString(value.ToLower());
     Assert.False(item1 == value.ToUpper());
 }
예제 #4
0
 public void Simple_Equal_Direct()
 {
     var value = "foobar";
     var item1 = new SimpleString("foobar");
     Assert.True(item1 == value);
 }