From 27e496966e0483c74c2713e0a678bf483eae390b Mon Sep 17 00:00:00 2001 From: StrayAlien Date: Fri, 17 Nov 2023 00:08:00 +1100 Subject: [PATCH] DMN 1.4 - 1152-boxed-for (#603) * 1152-boxed-for * commented out test 3/4 for undecided list coercion --- .../1152-boxed-for/1152-boxed-for-test-01.xml | 68 +++++++++++++++++++ .../1152-boxed-for/1152-boxed-for.dmn | 51 ++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 TestCases/compliance-level-3/1152-boxed-for/1152-boxed-for-test-01.xml create mode 100644 TestCases/compliance-level-3/1152-boxed-for/1152-boxed-for.dmn diff --git a/TestCases/compliance-level-3/1152-boxed-for/1152-boxed-for-test-01.xml b/TestCases/compliance-level-3/1152-boxed-for/1152-boxed-for-test-01.xml new file mode 100644 index 000000000..30576da38 --- /dev/null +++ b/TestCases/compliance-level-3/1152-boxed-for/1152-boxed-for-test-01.xml @@ -0,0 +1,68 @@ + + + + 1152-boxed-for.dmn + + + Will map 'in' values based on 'return' expression + + + + + 2 + + + 4 + + + 6 + + + 8 + + + 10 + + + + + + + + Will return an empty list when 'in' is empty + + + + + + + + + + + + + + + diff --git a/TestCases/compliance-level-3/1152-boxed-for/1152-boxed-for.dmn b/TestCases/compliance-level-3/1152-boxed-for/1152-boxed-for.dmn new file mode 100644 index 000000000..0f6d270a5 --- /dev/null +++ b/TestCases/compliance-level-3/1152-boxed-for/1152-boxed-for.dmn @@ -0,0 +1,51 @@ + + + Boxed For Expression + + + + + [1,2,3,4,5] + element * 2 + + + + + + + [] + element * 2 + + + + + + + + + + +