public void IsEqual_Ref_Object_Byte_Byte_True() { // arrange ExtendedType a = ExtendedType.FromType(typeof(byte), _cache); // act var result = a.Equals((object)a); // assert Assert.True(result); }
public void IsEqual_Object_Byte_Null_False() { // arrange ExtendedType a = ExtendedType.FromType(typeof(byte), _cache); // act var result = a.Equals(default(object)); // assert Assert.False(result); }
public void IsEqual_Object_Byte_String_False() { // arrange ExtendedType a = ExtendedType.FromType(typeof(byte), _cache); ExtendedType b = ExtendedType.FromType(typeof(string), _cache); // act var result = a.Equals((object)b); // assert Assert.False(result); }
public void IsEqual_Byte_Byte_True() { // arrange ExtendedType a = ExtendedType.FromType(typeof(byte), _cache); ExtendedType b = ExtendedType.FromType(typeof(byte), _cache); // act var result = a.Equals(b); // assert Assert.True(result); }