Exemple #1
0
 public void CompareTo()
 {
     Assert.IsTrue(c1.CompareTo(c2) < 0, "#1");
     Assert.IsTrue(c2.CompareTo(c1) > 0, "#2");
     Assert.IsTrue(c1.CompareTo(new CurveKey(125, 251)) < 0, "#3");
     Assert.IsTrue(c1.CompareTo(new CurveKey(1, 1)) == 0, "#4");
     Assert.IsTrue(c1.CompareTo(new CurveKey(-12, -15)) > 0, "#5");
 }