public void Comparison() { TestHelper.TestCompareToStruct(negativeFiftyMillion, new Duration(-50000000), threeMillion); TestHelper.TestNonGenericCompareTo(negativeFiftyMillion, new Duration(-50000000), threeMillion); TestHelper.TestOperatorComparisonEquality(negativeFiftyMillion, new Duration(-50000000), threeMillion); }
public void Equality() { TestHelper.TestEqualsStruct(threeMillion, new Duration(3000000), negativeFiftyMillion); TestHelper.TestOperatorEquality(threeMillion, new Duration(3000000), negativeFiftyMillion); }