Test/RiskParameter: Difference between revisions
Appearance
Created page with "RiskParameter tests Invisible display... but should set window.RT.pagedata for mother_fertility, father_fertility_factor, and mother_age: <RiskParameter mother_fertility=0.8 father_fertility_factor=0.1 mother_age="22-25" /> This in-line RiskDisplay should display All The Right Things: <RiskDisplay calculation="mother_fertility*father_fertility_factor">{mother_fertility}*{father_fertility_factor}={result}</RiskDisplay> Another invisbile RiskParameter: <RiskParameter dr..." |
(No difference)
|
Latest revision as of 21:42, 4 September 2025
RiskParameter tests
Invisible display... but should set window.RT.pagedata for mother_fertility, father_fertility_factor, and mother_age: {"mother_fertility":"0.8","father_fertility_factor":"0.1","mother_age":"22-25"}
This in-line RiskDisplay should display All The Right Things: {mother_fertility}*{father_fertility_factor}={result}
Another invisbile RiskParameter: {"driving_miles":"14000"}
... which should show up here: Driving miles is set to {driving_miles}