public void CalculatePageSize_requestedValue_less_than_maxValue() { const int requestedValue = 25; const int maxValue = 50; Assert.AreEqual(requestedValue, ResultsPagingUtility.CalculatePageSize(requestedValue, maxValue)); }
public void CalculatePageSize_invalid_requestedValue() { ResultsPagingUtility.CalculatePageSize(0, 50); }
public void CalculatePageSize_invalid_maxValue() { ResultsPagingUtility.CalculatePageSize(25, 0); }