public void CompareTo_ClickWithBiggerPosition_ReturnsNegative() { // CompareTo // A value that indicates the relative order of the objects being compared. // The return value has these meanings: // Less than zero: This instance precedes other in the sort order. // Zero: This instance occurs in the same position in the sort order as other. // Greater than zero: This instance follows other in the sort order. Assert.IsTrue(_audioClickFirst.CompareTo(_audioClickSecond) < 0, "Failed CompareTo: should return negative"); }
public void CompareTo_ClickWithSmallerPosition_ReturnsPositive() { Assert.IsTrue(_audioClickSecond.CompareTo(_audioClickFirst) > 0, "Failed CompareTo: should return positive"); }