Regression |
public RegressionTestPlanBuilder SetCustomTestHeatingBaseTemperatures( Temperature[] heatingBaseTemperatures )
Exception | Condition |
---|---|
ArgumentException | If heatingBaseTemperatures contains more than 120 temperatures, or contains any temperatures with a unit that isn't the one this Builder was constructed with. |
By default this is not set at all (as if it had been called with null), and the API will choose the base temperatures of the HDD it tests automatically.
If an empty IEnumerable is passed in, no HDD will be tested unless SetRequestedRegressionSpecs(RegressionSpec) is used to specify regressions with HDD.
This method will accept up to 120 (inclusive) custom test heating base temperatures, but, if you use all 120, you will get an exception on Build unless you have set the custom test cooling base temperatures as empty. At Build time you can have up to 120 custom base temperatures in total. If you don't set any custom test cooling base temperatures (leaving the API to choose the test cooling base temperatures automatically), at Build time you will be allowed up to 60 custom test heating base temperatures.
The Temperature items will be copied out of the array passed in, so you are free to modify the array after calling this method without such modifications affecting the state of this Builder.
See www.degreedays.net/api/regression#custom-base-temperatures for example code.