public void CompareToBiggerTest() { var _MultiEdgeId1 = new MultiEdgeId(2); var _MultiEdgeId2 = new MultiEdgeId(1); Assert.IsTrue(_MultiEdgeId1.CompareTo(_MultiEdgeId2) > 0); }
public void CompareToEqualsTest() { var _MultiEdgeId1 = new MultiEdgeId(1); var _MultiEdgeId2 = new MultiEdgeId(1); Assert.IsTrue(_MultiEdgeId1.CompareTo(_MultiEdgeId2) == 0); }
public void CompareToSmallerTest2() { var _MultiEdgeId1 = new MultiEdgeId(5); var _MultiEdgeId2 = new MultiEdgeId(23); Assert.IsTrue(_MultiEdgeId1.CompareTo(_MultiEdgeId2) < 0); }