public void ToUlf_BasePoints_CalculatesBasePointULF(CalculationCase calcCase, double VV, double expectedUlf) { double actualUlf = UlfCalculator.ToUlF(VV, calcCase); Assert.Equal(expectedUlf, actualUlf, tolerantDoubleComparer); }
public void ToULF_NegativeMaxVVValue_ThrowsException() { CalculationCase calcCase = CalculationCase.Case1; Assert.Throws <ArgumentException>(() => { UlfCalculator.ToUlF(-1, calcCase); }); }