Test/RiskModel
Appearance
Test the <RiskModel> custom tag...
RiskModel: Test/RiskModel:t1 Calculation: mother_fertility_rate Content: Your chance of getting pregnant is about {result} in 100.
RiskModel: Test/RiskModel:t2 Calculation: mother_fertility_rate*father_fertility_rate Content: Your chance of getting pregnant is about {result} in 100, per month.
Test some errors
Missing name riskmodel: missing name attribute
Missing calculation riskmodel: missing calculation attribute
Mis-matched parentheses: riskmodel base_rate*3)*factor/100: mismatched parentheses
riskmodel (base_rate*3)*father_rate/100): mismatched parentheses
Syntax errors:
riskmodel a & b: bad expression & b
riskmodel a b: Syntax error.