public void TestObjectCompareToNotDuration() { Duration duration1 = new Duration(1, 1.0); Assert.IsTrue(duration1.CompareTo(5) == 0); }