public void Simple_NotEqual() { var value = "foobar"; var item1 = new SimpleString(value.ToLower()); var item2 = new SimpleString(value.ToUpper()); Assert.NotEqual(item1, item2); }
public void Simple_Equal() { var value = "foobar"; var item1 = new SimpleString(value); var item2 = new SimpleString(value); Assert.Equal(item1, item2); }
public void Simple_NotEqual_Direct() { var value = "foobar"; var item1 = new SimpleString(value.ToLower()); Assert.False(item1 == value.ToUpper()); }
public void Simple_Equal_Direct() { var value = "foobar"; var item1 = new SimpleString("foobar"); Assert.True(item1 == value); }