public void Equals_ShouldNotBeEqual() { // arrange var a = new PagingOptions(SortBy.StartDate, 2); var b = new PagingOptions(SortBy.Distance, 1); // act & assert Assert.False(a.Equals(b)); }
public void Equals_ShouldBeEqual() { // arrange var a = new PagingOptions(SortBy.Distance, 1); var b = new PagingOptions(SortBy.Distance, 1); // act & assert Assert.True(a.Equals(b)); }