예제 #1
0
        public void EqualsFalseTest2()
        {
            InteropBoolean interopBoolean  = false;
            InteropBoolean interopBoolean2 = true;

            Assert.IsFalse(interopBoolean.Equals(interopBoolean2));
        }
예제 #2
0
        public void EqualsTest()
        {
            InteropBoolean interopBoolean  = true;
            InteropBoolean interopBoolean2 = true;

            Assert.IsTrue(interopBoolean.Equals(interopBoolean2));
        }
예제 #3
0
        private static void ConversionTest(Boolean value)
        {
            InteropBoolean interopBoolean = value;

            Assert.AreEqual <Boolean>(value, interopBoolean);
        }
예제 #4
0
        public void EqualsFalseTest()
        {
            InteropBoolean interopBoolean = true;

            Assert.IsFalse(interopBoolean.Equals(1));
        }