Lines Matching refs:evaluateRule
11 InstanceDescriptor, evaluateRule, processRules, posix, DesignSpaceDocumentError)
651 assert evaluateRule(r1, dict(axisName_a = 500, axisName_b = 0)) == True
652 assert evaluateRule(r1, dict(axisName_a = 0, axisName_b = 0)) == True
653 assert evaluateRule(r1, dict(axisName_a = 1000, axisName_b = 0)) == True
654 assert evaluateRule(r1, dict(axisName_a = 1000, axisName_b = -100)) == False
655 assert evaluateRule(r1, dict(axisName_a = 1000.0001, axisName_b = 0)) == False
656 assert evaluateRule(r1, dict(axisName_a = -0.0001, axisName_b = 0)) == False
657 assert evaluateRule(r1, dict(axisName_a = -100, axisName_b = 0)) == False
668 assert evaluateRule(r2, dict(axisName_a = 0)) == True
669 assert evaluateRule(r2, dict(axisName_a = -500)) == True
670 assert evaluateRule(r2, dict(axisName_a = 1000)) == False
678 assert evaluateRule(r3, dict(axisName_a = 0)) == False
679 assert evaluateRule(r3, dict(axisName_a = 1000)) == True
680 assert evaluateRule(r3, dict(axisName_a = 1000)) == True
691 assert evaluateRule(r4, dict(axisName_a = 1000, axisName_b = 0)) == True
692 assert evaluateRule(r4, dict(axisName_a = 0, axisName_b = 0)) == False
693 assert evaluateRule(r4, dict(axisName_a = 1000, axisName_b = 1000)) == False