예제 #1
0
        public void InTest14()
        {
            var i1 = new InTestStruct1(1, "description", 3);
            var i2 = new InTestStruct1(2, string.Empty, 6);
            var i3 = new InTestStruct1(4, "testing in op", 0);

            Assert.IsFalse(i1.In(i2, i3));
        }
예제 #2
0
        public void InTest13()
        {
            var i1 = new InTestStruct1(1, "description", 3);
            var i2 = new InTestStruct1(2, string.Empty, 6);
            var i3 = new InTestStruct1(4, "testing in op", 0);
            var i4 = new InTestStruct1(5, "tested in operator", null);

            Assert.IsTrue(i1.In(i1, i2, i3, i4));
        }