Exemplo n.º 1
0
        public void EqualsTest()
        {
            var pv1 = new PROPVARIANT(1);
            var pv2 = new PROPVARIANT(1);
            var pv3 = new PROPVARIANT(5f);

            Assert.That(pv1.Equals(pv2), Is.True);
            Assert.That(pv1.Equals(pv3), Is.False);
            Assert.That(pv3.Equals(pv1), Is.False);
        }
Exemplo n.º 2
0
        public void EqualsTest1()
        {
            var pv3 = new PROPVARIANT(5f);

            Assert.That(pv3.Equals(5f), Is.False);
        }