コード例 #1
0
        public void TestXBeeAddress64IsNotEqual()
        {
            var localAddress1 = new XBeeAddress64(0xFFFE);
            var localAddress2 = new XBeeAddress64(0xAABB);

            Assert.That(localAddress1.Equals(localAddress2), Is.False);
        }
コード例 #2
0
        public void TestXBeeAddress64IsEqual()
        {
            var localAddress = new XBeeAddress64(0xFFFF);

            Assert.That(localAddress.Equals(XBeeAddress64.BROADCAST), Is.True);
        }
コード例 #3
0
        public void TestXBeeAddress64IsEqualObject()
        {
            var localAddress = new XBeeAddress64(0xAABB);

            Assert.That(localAddress.Equals(new Object()), Is.False);
        }
コード例 #4
0
        public void TestXBeeAddress64IsEqualSame()
        {
            var localAddress = new XBeeAddress64(0xAABB);

            Assert.That(localAddress.Equals(localAddress), Is.True);
        }
コード例 #5
0
 public void TestXBeeAddress64IsNotEqual()
 {
     var localAddress1 = new XBeeAddress64(0xFFFE);
     var localAddress2 = new XBeeAddress64(0xAABB);
     Assert.That(localAddress1.Equals(localAddress2), Is.False);
 }
コード例 #6
0
 public void TestXBeeAddress64IsEqualSame()
 {
     var localAddress = new XBeeAddress64(0xAABB);
     Assert.That(localAddress.Equals(localAddress), Is.True);
 }
コード例 #7
0
 public void TestXBeeAddress64IsEqualObject()
 {
     var localAddress = new XBeeAddress64(0xAABB);
     Assert.That(localAddress.Equals(new Object()), Is.False);
 }
コード例 #8
0
 public void TestXBeeAddress64IsEqual()
 {
     var localAddress = new XBeeAddress64(0xFFFF);
     Assert.That(localAddress.Equals(XBeeAddress64.BROADCAST), Is.True);
 }