public void CalculateGapsTests(double startPrice, double endPrice, int rungs, double expectedGap) { // When double actualGap = Ladder.Calculate(startPrice, endPrice, rungs); // Then Assert.Equal(expectedGap, actualGap); }
public void CalculateGapsTests(double startPrice, double endPrice, int rungs, double expectedGap) { // When double actualGap = Ladder.Calculate(startPrice, endPrice, rungs); // Then Assert.Equal(expectedGap, actualGap); }