Constant DMN_3_0098

Source
pub const DMN_3_0098: &str = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<definitions namespace=\"http://www.montera.com.au/spec/DMN/0098-feel-week-of-year-function\"\n             name=\"0098-feel-week-of-year-function\"\n             id=\"_i9fboPUUEeesLuP4RHs4vA\"\n             xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\">\n\n    <description>\n        week of year function\n    </description>\n\n    <inputData name=\"date_input_001\" id=\"_date_input_001\">\n        <variable name=\"date_input_001\" typeRef=\"Any\" /> <!-- used to externally supply FEEL:date or other type of values defined in the TCK test file -->\n    </inputData>\n\n    <decision name=\"date_001\" id=\"_date_001\">\n        <description>Tests FEEL expression: \'week of year(@\"2019-09-17\")\' and expects result: \'1 (number)\'</description>\n        <question>Result of FEEL expression \'week of year(@\"2019-09-17\")\'?</question>\n        <allowedAnswers>1 (number)</allowedAnswers>\n        <variable name=\"date_001\"/>\n        <literalExpression>\n            <text>week of year(@\"2019-09-17\")</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"date_002\" id=\"_date_002\">\n        <description>Tests FEEL expression: \'week of year(@\"2003-12-29\")\' and expects result: \'1 (number)\'</description>\n        <question>Result of FEEL expression \'week of year(@\"2003-12-29\")\'?</question>\n        <allowedAnswers>1 (number)</allowedAnswers>\n        <variable name=\"date_002\"/>\n        <literalExpression>\n            <!-- 2004 NYD falls on a Thursday, so this is in week 01 of the next year -->\n            <text>week of year(@\"2003-12-29\")</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"date_003\" id=\"_date_003\">\n        <description>Tests FEEL expression: \'week of year(@\"2003-12-31\")\' and expects result: \'1 (number)\'</description>\n        <question>Result of FEEL expression \'week of year(@\"2003-12-31\")\'?</question>\n        <allowedAnswers>1 (number)</allowedAnswers>\n        <variable name=\"date_003\"/>\n        <literalExpression>\n            <!-- 2004 NYD falls on a Thursday, so this is in week 01 of the next year -->\n            <text>week of year(@\"2003-12-31\")</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"date_004\" id=\"_date_004\">\n        <description>Tests FEEL expression: \'week of year(@\"2004-01-01\")\' and expects result: \'1 (number)\'</description>\n        <question>Result of FEEL expression \'week of year(@\"2004-01-01\")\'?</question>\n        <allowedAnswers>1 (number)</allowedAnswers>\n        <variable name=\"date_004\"/>\n        <literalExpression>\n            <!-- 2004 NYD falls on a Thursday, so this is in week 01 of the current year -->\n            <text>week of year(@\"2004-01-01\")</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"date_005\" id=\"_date_005\">\n        <description>Tests FEEL expression: \'week of year(@\"2010-01-01\")\' and expects result: \'53 (number)\'</description>\n        <question>Result of FEEL expression \'week of year(@\"2010-01-01\")\'?</question>\n        <allowedAnswers>53 (number)</allowedAnswers>\n        <variable name=\"date_005\"/>\n        <literalExpression>\n            <!-- 2010 NYD falls on a Friday, so NYD week is part of the previous year -->\n            <text>week of year(@\"2010-01-01\")</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"date_006\" id=\"_date_006\">\n        <variable name=\"date_006\"/>\n        <informationRequirement>\n            <requiredInput href=\"#_date_input_001\"/>\n        </informationRequirement>\n        <literalExpression>\n            <text>week of year(date_input_001)</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"date_007\" id=\"_date_007\">\n        <description>Tests FEEL expression: \'week of year(date: @\"2019-09-17\")\' and expects result: \'38 (number)\'</description>\n        <question>Result of FEEL expression \'week of year(date: @\"2019-09-17\")\'?</question>\n        <allowedAnswers>38 (number)</allowedAnswers>\n        <variable name=\"date_007\"/>\n        <literalExpression>\n            <text>week of year(date: @\"2019-09-17\")</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"date_008\" id=\"_date_008\">\n        <variable name=\"date_008\"/>\n        <list>\n            <literalExpression>\n                <text>week of year(date(2005, 1, 1))</text>\n            </literalExpression>\n            <literalExpression>\n                <text>week of year(date(2005, 1, 3))</text>\n            </literalExpression>\n            <literalExpression>\n                <text>week of year(date(2005, 1, 9))</text>\n            </literalExpression>\n        </list>\n    </decision>\n\n    <decision name=\"datetime_001\" id=\"_datetime_001\">\n        <description>Tests FEEL expression: \'week of year(@\"1970-01-01T10:10:10\")\' and expects result: \'1 (number)\'</description>\n        <question>Result of FEEL expression \'week of year(@\"1970-01-01T10:10:10\")\'?</question>\n        <allowedAnswers>1 (number)</allowedAnswers>\n        <variable name=\"datetime_001\"/>\n        <literalExpression>\n            <text>week of year(@\"1970-01-01T10:10:10\")</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"datetime_004\" id=\"_datetime_004\">\n        <variable name=\"datetime_004\"/>\n        <informationRequirement>\n            <requiredInput href=\"#_date_input_001\"/>\n        </informationRequirement>\n        <literalExpression>\n            <text>week of year(date_input_001)</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"datetime_005\" id=\"_datetime_005\">\n        <description>Tests FEEL expression: \'week of year(date: @\"2019-09-17T10:10:10\")\' and expects result: \'38 (number)\'</description>\n        <question>Result of FEEL expression \'week of year(date: @\"2019-09-17T10:10:10\")\'?</question>\n        <allowedAnswers>38 (number)</allowedAnswers>\n        <variable name=\"datetime_005\"/>\n        <literalExpression>\n            <text>week of year(date: @\"2019-09-17T10:10:10\")</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"null_001\" id=\"_null_001\">\n        <description>Tests FEEL expression: \'week of year(null)\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'week of year(null)\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable name=\"null_001\"/>\n        <literalExpression>\n            <text>week of year(null)</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"null_002\" id=\"_null_002\">\n        <description>Tests FEEL expression: \'week of year()\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'week of year()\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable name=\"null_002\"/>\n        <literalExpression>\n            <text>week of year()</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"null_003\" id=\"_null_003\">\n        <description>Tests FEEL expression: \'week of year(\"foo\")\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'week of year(\"foo\")\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable name=\"null_003\"/>\n        <literalExpression>\n            <text>week of year(\"foo\")</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"null_004\" id=\"_null_004\">\n        <description>Tests FEEL expression: \'week of year(date: null)\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'week of year(date: null)\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable name=\"null_004\"/>\n        <literalExpression>\n            <text>week of year(date: null)</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"null_005\" id=\"_null_005\">\n        <description>Tests FEEL expression: \'week of year(date: \"foo\")\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'week of year(date: \"foo\")\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable name=\"null_005\"/>\n        <literalExpression>\n            <text>week of year(date: \"foo\")</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"null_006\" id=\"_null_006\">\n        <description>Tests FEEL expression: \'week of year(value: @\"1970-01-01\")\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'week of year(value: @\"1970-01-01\")\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable name=\"null_006\"/>\n        <literalExpression>\n            <!-- \'value\' is not the param name -->\n            <text>week of year(value: @\"1970-01-01\")</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"null_007\" id=\"_null_007\">\n        <variable name=\"null_007\"/>\n        <informationRequirement>\n            <requiredInput href=\"#_date_input_001\"/>\n        </informationRequirement>\n        <literalExpression>\n            <text>week of year(date_input_001)</text>\n        </literalExpression>\n    </decision>\n\n    <decision name=\"null_008\" id=\"_null_008\">\n        <description>Tests FEEL expression: \'week of year(@\"1970-01-01\", @\"1970-01-01\")\' and expects result: \'null (number)\'</description>\n        <question>Result of FEEL expression \'week of year(@\"1970-01-01\", @\"1970-01-01\")\'?</question>\n        <allowedAnswers>null (number)</allowedAnswers>\n        <variable name=\"null_008\"/>\n        <literalExpression>\n            <!-- too many params -->\n            <text>week of year(@\"1970-01-01\", @\"1970-01-01\")</text>\n        </literalExpression>\n    </decision>\n\n</definitions>";