Esempio n. 1
0
 public void TestCompareByProfitPerWarp()
 {
     Assert.AreEqual(-1, RoundTrip.CompareByProfitPerWarpSecure(trip, badTrip));
     Assert.AreEqual(0, RoundTrip.CompareByProfitPerWarpSecure(trip, trip));
     Assert.AreEqual(1, RoundTrip.CompareByProfitPerWarpSecure(badTrip, trip));
 }