public void CompareTo() { IQuantity f1 = 100 * Fraction.Percent; object f2 = 0.5 * Fraction.Frac; Assert.AreEqual(1, f1.CompareTo(f2)); }