public void ShouldCompareManyShuffleOrderedPropertiesObjectsEqual() { var first = new ManyShuffleOrderedProperties(); var second = new ManyShuffleOrderedProperties(); Assert.That(first.CompareTo(second), Is.EqualTo(0)); }
public void ShouldCompareManyShuffleOrderedPropertiesObjectsBefore([Range(1, 8)] int firstNonEqualOrdering) { var first = new ManyShuffleOrderedProperties(); var second = new ManyShuffleOrderedProperties(); MakeNonEqualFrom(firstNonEqualOrdering, WithBeforeResult(), 8, second); Assert.That(first.CompareTo(second), Is.Negative); }