Exemplo n.º 1
0
        public void Test10_UserDefinedReferenceTypeNotFound()
        {
            var i1 = new InTestClass1(1, "description", 3);
            var i2 = new InTestClass1(2, string.Empty, 6);
            var i3 = new InTestClass1(4, "testing in op", 0);
            var i4 = new InTestClass1(1, "description", 3);

            Assert.IsFalse(i1.In(i2, i3, i4));
        }
Exemplo n.º 2
0
        public void Test09_UserDefinedReferenceTypeFound()
        {
            var i1 = new InTestClass1(1, "description", 3);
            var i2 = new InTestClass1(2, string.Empty, 6);
            var i3 = new InTestClass1(4, "testing in op", 0);
            var i4 = new InTestClass1(5, "tested in operator", null);

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