public void ShouldReturnFalseWhenObjectIsNotEqual() { var first = new ExifLong(ExifTag.SubIFDOffset); var second = new ExifLong(ExifTag.CodingMethods); Assert.False(first.Equals(second)); }
public void ShouldReturnTrueWhenObjectIsEqual() { var first = new ExifLong(ExifTag.SubIFDOffset); var second = new ExifLong(ExifTag.SubIFDOffset); Assert.True(first.Equals(second)); }
public void ShouldReturnFalseWhenInstanceIsNotEqual() { var first = new ExifLong(ExifTag.SubIFDOffset); var second = ExifTag.CodingMethods; Assert.IsFalse(first.Equals(second)); }
public void ShouldReturnTrueWhenInstanceIsEqual() { var first = new ExifLong(ExifTag.SubIFDOffset); var second = ExifTag.SubIFDOffset; Assert.IsTrue(first.Equals(second)); }
public void ShouldReturnTrueWhenObjectIsTheSame() { var value = new ExifLong(ExifTag.SubIFDOffset); Assert.True(value.Equals(value)); }
public void ShouldReturnFalseWhenInstanceIsNull() { var value = new ExifLong(ExifTag.SubIFDOffset); Assert.False(value.Equals(null)); }