public void TestXBeeAddress64IsNotEqual() { var localAddress1 = new XBeeAddress64(0xFFFE); var localAddress2 = new XBeeAddress64(0xAABB); Assert.That(localAddress1.Equals(localAddress2), Is.False); }
public void TestXBeeAddress64IsEqual() { var localAddress = new XBeeAddress64(0xFFFF); Assert.That(localAddress.Equals(XBeeAddress64.BROADCAST), Is.True); }
public void TestXBeeAddress64IsEqualObject() { var localAddress = new XBeeAddress64(0xAABB); Assert.That(localAddress.Equals(new Object()), Is.False); }
public void TestXBeeAddress64IsEqualSame() { var localAddress = new XBeeAddress64(0xAABB); Assert.That(localAddress.Equals(localAddress), Is.True); }