public void CompareToTest() { Oid target = new Oid(); // TODO: Initialize to an appropriate value object obj = null; // TODO: Initialize to an appropriate value int expected = 0; // TODO: Initialize to an appropriate value int actual; actual = target.CompareTo(obj); actual.Should().Be(expected); Assert.Inconclusive("Verify the correctness of this test method."); }
public void TestOidComparisons() { Oid lower = new Oid("4a7067c30a57000000008ecb"); Oid higher = new Oid("5a7067c30a57000000008ecb"); Assert.AreEqual(1, lower.CompareTo(null)); Assert.AreEqual(1, higher.CompareTo(lower)); Assert.IsTrue(lower < higher); Assert.IsTrue(higher > lower); }