public void SumRangeOddTestStartAtZero() { int manualCalculation = _manualCalculateSumRangeOdd(0, 100); int result = Sums.SumRangeOdd(0, 100); Assert.AreEqual(manualCalculation, result); }
public void SumRangeOddTestNegativeRange() { Assert.AreEqual(0, Sums.SumRangeOdd(10, 9)); }
public void SumRangeOddTestStartAtOne() { int manualCalculation = _manualCalculateSumRangeOdd(0, 100); Assert.AreEqual(manualCalculation, Sums.SumRangeOdd(1, 100)); }