Constant dmntk_examples::DMN_3_0051

source ·
pub const DMN_3_0051: &str = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<definitions namespace=\"http://www.montera.com.au/spec/DMN/0051-feel-sqrt-function\"\n             name=\"0051-feel-sqrt-function\"\n             id=\"_08984b9e-bb70-4c6d-9490-3009df91ddd3\"\n             xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\"\n             xmlns:di=\"http://www.omg.org/spec/DMN/20180521/DI/\"\n             xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\"\n             xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\"\n             xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <description>FEEL built-in function \'sqrt(number)\' in category numeric functions</description>\n    <decision name=\"decision001\" id=\"_decision001\">\n        <description>Tests FEEL expression: \'sqrt(4)\' and expects result: \'2 (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(4)\'?</question>\n        <allowedAnswers>2 (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision001\"/>\n        <literalExpression>\n            <text>sqrt(4)</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision002\" id=\"_decision002\">\n        <description>Tests FEEL expression: \'sqrt(-1)\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(-1)\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision002\"/>\n        <literalExpression>\n            <text>sqrt(-1)</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision003\" id=\"_decision003\">\n        <description>Tests FEEL expression: \'sqrt(0)\' and expects result: \'0 (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(0)\'?</question>\n        <allowedAnswers>0 (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision003\"/>\n        <literalExpression>\n            <text>sqrt(0)</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision004\" id=\"_decision004\">\n        <description>Tests FEEL expression: \'sqrt()\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'sqrt()\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision004\"/>\n        <literalExpression>\n            <text>sqrt()</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision005\" id=\"_decision005\">\n        <description>Tests FEEL expression: \'sqrt(4,4)\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(4,4)\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision005\"/>\n        <literalExpression>\n            <text>sqrt(4,4)</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision006\" id=\"_decision006\">\n        <description>Tests FEEL expression: \'sqrt(number:4)\' and expects result: \'2 (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(number:4)\'?</question>\n        <allowedAnswers>2 (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision006\"/>\n        <literalExpression>\n            <text>sqrt(number:4)</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision007\" id=\"_decision007\">\n        <description>Tests FEEL expression: \'sqrt(n:4)\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(n:4)\'?</question>\n        <allowedAnswers>2 (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision007\"/>\n        <literalExpression>\n            <text>sqrt(n:4)</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision008\" id=\"_decision008\">\n        <description>Tests FEEL expression: \'sqrt(null)\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(null)\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision008\"/>\n        <literalExpression>\n            <text>sqrt(null)</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision009\" id=\"_decision009\">\n        <description>Tests FEEL expression: \'sqrt(\"4\")\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(\"4\")\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision009\"/>\n        <literalExpression>\n            <text>sqrt(\"4\")</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision010\" id=\"_decision010\">\n        <description>Tests FEEL expression: \'sqrt(true)\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(true)\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision010\"/>\n        <literalExpression>\n            <text>sqrt(true)</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision011\" id=\"_decision011\">\n        <description>Tests FEEL expression: \'sqrt(duration(\"P4D\"))\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(duration(\"P4D\"))\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision011\"/>\n        <literalExpression>\n            <text>sqrt(duration(\"P4D\"))</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision012\" id=\"_decision012\">\n        <description>Tests FEEL expression: \'sqrt(duration(\"P4Y\"))\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(duration(\"P4Y\"))\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision012\"/>\n        <literalExpression>\n            <text>sqrt(duration(\"P4Y\"))</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision013\" id=\"_decision013\">\n        <description>Tests FEEL expression: \'sqrt(date(\"2018-12-06\"))\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(date(\"2018-12-06\"))\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision013\"/>\n        <literalExpression>\n            <text>sqrt(date(\"2018-12-06\"))</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision014\" id=\"_decision014\">\n        <description>Tests FEEL expression: \'sqrt(time(\"00:00:00\"))\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'sqrt(time(\"00:00:00\"))\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision014\"/>\n        <literalExpression>\n            <text>sqrt(time(\"00:00:00\"))</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"decision015\" id=\"_decision015\">\n        <description>Tests FEEL expression: \'sqrt(date and time(\"2018-12-06T00:00:00\"))\' and expects result: \'null\n            (number)\'\n        </description>\n        <question>Result of FEEL expression \'sqrt(date and time(\"2018-12-06T00:00:00\"))\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable typeRef=\"number\" name=\"decision015\"/>\n        <literalExpression>\n            <text>sqrt(date and time(\"2018-12-06T00:00:00\"))</text>\n        </literalExpression>\n    </decision>\n</definitions>\n\n";