Exemplo n.º 1
0
        public void TestXBeeAddress16IsNotEqual()
        {
            var localAddress1 = new XBeeAddress16(0xFFFE);
            var localAddress2 = new XBeeAddress16(0xAABB);

            Assert.That(localAddress1.Equals(localAddress2), Is.False);
        }
Exemplo n.º 2
0
        public void TestXBeeAddress16IsEqualObject()
        {
            var localAddress = new XBeeAddress16(0xAABB);

            Assert.That(localAddress.Equals(new Object()), Is.False);
        }
Exemplo n.º 3
0
        public void TestXBeeAddress16IsEqual()
        {
            var localAddress = new XBeeAddress16(0xFFFE);

            Assert.That(localAddress.Equals(XBeeAddress16.ZNET_BROADCAST), Is.True);
        }
Exemplo n.º 4
0
        public void TestXBeeAddress16IsEqualSame()
        {
            var localAddress = new XBeeAddress16(0xAABB);

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