public void ComputeRateForValidEntries() { var linearInterpolation = new LinearInterpolation(); var result = linearInterpolation.ComputeRate(1, 2, 1, 1, 1.5); Assert.AreEqual(1, result); }
public void ComputeRateForInvalidEntries() { var linearInterpolation = new LinearInterpolation(); var result = linearInterpolation.ComputeRate(4, 4, 4, 4, 3); }