The totals and Components code is not handling NaN values appropriately when scenarios are run when component values are missing.
Checklist
[x] Documentation created/updated
[x] Tests created/updated
Description
The code ensures that math.isnan() is used whenever a value is being checked that could be set as NaN.
UAT test cases a7 7001, 7002, 7003 and 14001, 14002 and 14003 are added to test the desired behaviour.
Synopsis
The totals and Components code is not handling NaN values appropriately when scenarios are run when component values are missing.
Checklist
Description
The code ensures that math.isnan() is used whenever a value is being checked that could be set as NaN. UAT test cases a7 7001, 7002, 7003 and 14001, 14002 and 14003 are added to test the desired behaviour.