Пример #1
0
        public void Test09()
        {
            sbyte [] input = { -1, -128, 0, 1, 127 };

            I1ArraySECSItem secsItem = new I1ArraySECSItem(input, SECSItemNumLengthBytes.ONE);

            Assert.IsFalse(secsItem.Equals(null));
        }
Пример #2
0
        public void Test12()
        {
            sbyte [] input1 = { -1, -128, 0, 1, 127 };
            sbyte [] input2 = { -1, -128, 0, 1, 0 };

            I1ArraySECSItem secsItem1 = new I1ArraySECSItem(input1, SECSItemNumLengthBytes.ONE);
            I1ArraySECSItem secsItem2 = new I1ArraySECSItem(input2, SECSItemNumLengthBytes.ONE);

            Assert.IsFalse(secsItem1.Equals(secsItem2));
        }
Пример #3
0
        public void Test10()
        {
            sbyte [] input = { -1, -128, 0, 1, 127 };

            I1ArraySECSItem secsItem = new I1ArraySECSItem(input, SECSItemNumLengthBytes.ONE);

            Object secsItem2 = new F8SECSItem(2.141592D);

            Assert.IsFalse(secsItem.Equals(secsItem2));
        }