Esempio n. 1
0
        public void TestOidInEquality()
        {
            Oid val = new Oid("4a7067c30a57000000008ecb");
            Oid other = new Oid("5a7067c30a57000000008ecb");

            Assert.IsFalse(val == null);
            Assert.IsFalse(val == other);
            Assert.IsFalse(val.Equals(other));
            Assert.IsTrue(val != null);
            Assert.IsTrue(val != other);
        }
Esempio n. 2
0
 public void EqualsTest()
 {
     Oid target = new Oid(); // TODO: Initialize to an appropriate value
     Oid other = null; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.Equals(other);
     actual.Should().Be(expected);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Esempio n. 3
0
        public void TestOidEquality()
        {
            Oid val = new Oid("4a7067c30a57000000008ecb");
            Oid other = new Oid("4a7067c30a57000000008ecb");

            Assert.IsTrue(val.Equals(other), "Equals(Oid) did not work");
            Assert.IsTrue(val == other, "== operator did not work");
        }