Beispiel #1
0
        public void Test12()
        {
            byte [] input = { 255, 128, 0, 1, 127 };

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

            Assert.IsFalse(secsItem.Equals(null));
        }
Beispiel #2
0
        public void Test15()
        {
            byte [] input1 = { 255, 128, 0, 1, 127 };
            byte [] input2 = { 255, 128, 0, 1, 0 };

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

            Assert.IsFalse(secsItem1.Equals(secsItem2));
        }
Beispiel #3
0
        public void Test13()
        {
            byte [] input = { 255, 128, 0, 1, 127 };

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

            Object secsItem2 = new F8SECSItem(2.141592D);

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