public void TestXBeeAddress16IsNotEqual() { var localAddress1 = new XBeeAddress16(0xFFFE); var localAddress2 = new XBeeAddress16(0xAABB); Assert.That(localAddress1.Equals(localAddress2), Is.False); }
public void TestXBeeAddress16IsEqualObject() { var localAddress = new XBeeAddress16(0xAABB); Assert.That(localAddress.Equals(new Object()), Is.False); }
public void TestXBeeAddress16IsEqual() { var localAddress = new XBeeAddress16(0xFFFE); Assert.That(localAddress.Equals(XBeeAddress16.ZNET_BROADCAST), Is.True); }
public void TestXBeeAddress16IsEqualSame() { var localAddress = new XBeeAddress16(0xAABB); Assert.That(localAddress.Equals(localAddress), Is.True); }