dsntk_examples/examples/
valid.rs

1//! # Examples of valid decision tables
2
3/// **Horizontal decision table**,
4/// **no** information item name,
5/// **no** output label,
6/// **no** input values,
7/// **single** output,
8/// **no** annotations.
9///
10/// ```text
11///           ORIENTATION: horizontal
12/// INFORMATION ITEM NAME: no
13///          OUTPUT LABEL: no
14///   INPUT/OUTPUT VALUES: no
15///               OUTPUTS: single
16///           ANNOTATIONS: no
17/// ```
18pub const EX_0001: &str = r#"
19  ┌───┬────────────┬───────╥──────┐
20  │ U │  Customer  │ Order ║      │
21  ╞═══╪════════════╪═══════╬══════╡
22  │ 1 │ "Business" │  <10  ║ 0.10 │
23  ├───┼────────────┼───────╫──────┤
24  │ 2 │ "Business" │ >=10  ║ 0.15 │
25  ├───┼────────────┼───────╫──────┤
26  │ 3 │ "Private"  │   -   ║ 0.05 │
27  └───┴────────────┴───────╨──────┘
28% { Customer:"Business",   Order:  -3.23 }, 0.10
29% { Customer:"Business",   Order:   9.00 }, 0.10
30% { Customer:"Business",   Order:  10.00 }, 0.15
31% { Customer:"Business",   Order: 120.00 }, 0.15
32% { Customer:"Private",    Order:  -2.34 }, 0.05
33% { Customer:"Private",    Order:  10.00 }, 0.05
34% { Customer:"Private",    Order: 101.00 }, 0.05
35% { Customer:"Government", Order:  10.00 }, null
36"#;
37
38/// **Horizontal decision table**,
39/// **no** information item name,
40/// **no** output label,
41/// **no** input values,
42/// **single** output,
43/// **with** annotations.
44///
45/// ```text
46///           ORIENTATION: horizontal
47/// INFORMATION ITEM NAME: no
48///          OUTPUT-LABEL: no
49///   INPUT-OUTPUT-VALUES: no
50///                OUTPUT: single
51///           ANNOTATIONS: yes
52/// ```
53pub const EX_0002: &str = r#"
54  ┌───┬──────────┬───────╥──────╥─────────────┐
55  │ U │ Customer │ Order ║      ║ Description │
56  ╞═══╪══════════╪═══════╬══════╬═════════════╡
57  │ 1 │"Business"│  <10  ║ 0.10 ║ Small order │
58  ├───┼──────────┼───────╫──────╫─────────────┤
59  │ 2 │"Business"│ >=10  ║ 0.15 ║ Large order │
60  ├───┼──────────┼───────╫──────╫─────────────┤
61  │ 3 │"Private" │   -   ║ 0.05 ║ All orders  │
62  └───┴──────────┴───────╨──────╨─────────────┘
63% { Customer:"Business",   Order:  -3.23 }, 0.10
64% { Customer:"Business",   Order:   9.00 }, 0.10
65% { Customer:"Business",   Order:  10.00 }, 0.15
66% { Customer:"Business",   Order: 120.00 }, 0.15
67% { Customer:"Private",    Order:  -2.34 }, 0.05
68% { Customer:"Private",    Order:  10.00 }, 0.05
69% { Customer:"Private",    Order: 101.00 }, 0.05
70% { Customer:"Government", Order:  10.00 }, null
71"#;
72
73/// **Horizontal** decision table,
74/// **no** information item name,
75/// **no** output label,
76/// **no** input values,
77/// **multiple** outputs,
78/// **without** annotations.
79///
80/// ```text
81///           ORIENTATION: horizontal
82/// INFORMATION ITEM NAME: no
83///          OUTPUT-LABEL: no
84///   INPUT-OUTPUT-VALUES: no
85///                OUTPUT: multiple
86///           ANNOTATIONS: no
87/// ```
88pub const EX_0003: &str = r#"
89  ┌───┬──────────┬───────╥──────────┬──────────┐
90  │ U │ Customer │ Order ║ Discount │ Priority │
91  ╞═══╪══════════╪═══════╬══════════╪══════════╡
92  │ 1 │"Business"│  <10  ║   0.10   │ "Normal" │
93  ├───┼──────────┼───────╫──────────┼──────────┤
94  │ 2 │"Business"│ >=10  ║   0.15   │  "High"  │
95  ├───┼──────────┼───────╫──────────┼──────────┤
96  │ 3 │"Private" │   -   ║   0.05   │  "Low"   │
97  └───┴──────────┴───────╨──────────┴──────────┘
98% { Customer:"Business",   Order:  -3.23 }, { Discount: 0.10, Priority: "Normal" }
99% { Customer:"Business",   Order:   9.00 }, { Discount: 0.10, Priority: "Normal" }
100% { Customer:"Business",   Order:  10.00 }, { Discount: 0.15, Priority: "High" }
101% { Customer:"Business",   Order: 120.00 }, { Discount: 0.15, Priority: "High" }
102% { Customer:"Private",    Order:  -2.34 }, { Discount: 0.05, Priority: "Low" }
103% { Customer:"Private",    Order:  10.00 }, { Discount: 0.05, Priority: "Low" }
104% { Customer:"Private",    Order: 101.00 }, { Discount: 0.05, Priority: "Low" }
105% { Customer:"Government", Order:  10.00 }, null
106"#;
107
108/// **Horizontal** decision table,
109///
110/// ```text
111///           ORIENTATION: horizontal
112/// INFORMATION ITEM NAME: no
113///          OUTPUT-LABEL: no
114///   INPUT-OUTPUT-VALUES: no
115///                OUTPUT: multiple
116///           ANNOTATIONS: yes
117/// ```
118pub const EX_0004: &str = r#"
119  ┌───┬──────────┬───────╥──────────┬──────────╥─────────────┐
120  │ U │ Customer │ Order ║ Discount │ Priority ║ Description │
121  ╞═══╪══════════╪═══════╬══════════╪══════════╬═════════════╡
122  │ 1 │"Business"│  <10  ║   0.10   │ "Normal" ║ Small order │
123  ├───┼──────────┼───────╫──────────┼──────────╫─────────────┤
124  │ 2 │"Business"│ >=10  ║   0.15   │  "High"  ║ Large order │
125  ├───┼──────────┼───────╫──────────┼──────────╫─────────────┤
126  │ 3 │"Private" │   -   ║   0.05   │  "Low"   ║ All orders  │
127  └───┴──────────┴───────╨──────────┴──────────╨─────────────┘
128% { Customer:"Business",   Order:  -3.23 }, { Discount: 0.10, Priority: "Normal" }
129% { Customer:"Business",   Order:   9.00 }, { Discount: 0.10, Priority: "Normal" }
130% { Customer:"Business",   Order:  10.00 }, { Discount: 0.15, Priority: "High" }
131% { Customer:"Business",   Order: 120.00 }, { Discount: 0.15, Priority: "High" }
132% { Customer:"Private",    Order:  -2.34 }, { Discount: 0.05, Priority: "Low" }
133% { Customer:"Private",    Order:  10.00 }, { Discount: 0.05, Priority: "Low" }
134% { Customer:"Private",    Order: 101.00 }, { Discount: 0.05, Priority: "Low" }
135% { Customer:"Government", Order:  10.00 }, null
136"#;
137
138/// **Horizontal** decision table,
139///
140/// ```text
141///           ORIENTATION: horizontal
142/// INFORMATION ITEM NAME: no
143///          OUTPUT-LABEL: no
144///   INPUT-OUTPUT-VALUES: yes
145///                OUTPUT: single
146///           ANNOTATIONS: no
147/// ```
148pub const EX_0005: &str = r#"
149  ┌───┬───────────┬───────╥──────┐
150  │ U │ Customer  │ Order ║      │
151  │   ├───────────┼───────╫──────┤
152  │   │"Business",│  <10, ║ 0.05,│
153  │   │"Private"  │ >=10  ║ 0.10,│
154  │   │           │       ║ 0.15 │
155  ╞═══╪═══════════╪═══════╬══════╡
156  │ 1 │"Business" │  <10  ║ 0.10 │
157  ├───┼───────────┼───────╫──────┤
158  │ 2 │"Business" │ >=10  ║ 0.15 │
159  ├───┼───────────┼───────╫──────┤
160  │ 3 │"Private"  │   -   ║ 0.05 │
161  └───┴───────────┴───────╨──────┘
162% { Customer:"Business",   Order:  -3.23 }, 0.10
163% { Customer:"Business",   Order:   9.00 }, 0.10
164% { Customer:"Business",   Order:  10.00 }, 0.15
165% { Customer:"Business",   Order: 120.00 }, 0.15
166% { Customer:"Private",    Order:  -2.34 }, 0.05
167% { Customer:"Private",    Order:  10.00 }, 0.05
168% { Customer:"Private",    Order: 101.00 }, 0.05
169% { Customer:"Government", Order:  10.00 }, null
170"#;
171
172/// **Horizontal** decision table,
173///
174/// ```text
175///           ORIENTATION: horizontal
176/// INFORMATION ITEM NAME: no
177///          OUTPUT-LABEL: no
178///   INPUT-OUTPUT-VALUES: yes
179///                OUTPUT: single
180///           ANNOTATIONS: yes
181/// ```
182pub const EX_0006: &str = r#"
183  ┌───┬───────────┬───────╥──────╥─────────────┐
184  │ U │ Customer  │ Order ║      ║ Description │
185  │   ├───────────┼───────╫──────╫─────────────┤
186  │   │"Business",│  <10, ║ 0.10,║             │
187  │   │"Private"  │ >=10  ║ 0.15,║             │
188  │   │           │       ║ 0.05 ║             │
189  ╞═══╪═══════════╪═══════╬══════╬═════════════╡
190  │ 1 │"Business" │  <10  ║ 0.10 ║    Small    │
191  ├───┼───────────┼───────╫──────╫─────────────┤
192  │ 2 │"Business" │ >=10  ║ 0.15 ║    Large    │
193  ├───┼───────────┼───────╫──────╫─────────────┤
194  │ 3 │"Private"  │   -   ║ 0.05 ║     All     │
195  └───┴───────────┴───────╨──────╨─────────────┘
196% { Customer:"Business",   Order:  -3.23 }, 0.10
197% { Customer:"Business",   Order:   9.00 }, 0.10
198% { Customer:"Business",   Order:  10.00 }, 0.15
199% { Customer:"Business",   Order: 120.00 }, 0.15
200% { Customer:"Private",    Order:  -2.34 }, 0.05
201% { Customer:"Private",    Order:  10.00 }, 0.05
202% { Customer:"Private",    Order: 101.00 }, 0.05
203% { Customer:"Government", Order:  10.00 }, null
204"#;
205
206/// **Horizontal** decision table,
207///
208/// ```text
209///           ORIENTATION: horizontal
210/// INFORMATION ITEM NAME: no
211///          OUTPUT-LABEL: no
212///   INPUT-OUTPUT-VALUES: yes
213///                OUTPUT: multiple
214///           ANNOTATIONS: no
215/// ```
216pub const EX_0007: &str = r#"
217  ┌───┬───────────┬───────╥──────────┬──────────┐
218  │ U │ Customer  │ Order ║ Discount │ Priority │
219  │   ├───────────┼───────╫──────────┼──────────┤
220  │   │"Business",│ <10,  ║   0.10,  │"Normal", │
221  │   │"Private"  │ >=10  ║   0.15,  │ "High",  │
222  │   │           │       ║   0.05   │  "Low"   │
223  ╞═══╪═══════════╪═══════╬══════════╪══════════╡
224  │ 1 │"Business" │ <10   ║   0.10   │ "Normal" │
225  ├───┼───────────┼───────╫──────────┼──────────┤
226  │ 2 │"Business" │ >=10  ║   0.15   │  "High"  │
227  ├───┼───────────┼───────╫──────────┼──────────┤
228  │ 3 │"Private"  │   -   ║   0.05   │  "Low"   │
229  └───┴───────────┴───────╨──────────┴──────────┘
230% { Customer:"Business",   Order:  -3.23 }, { Discount: 0.10, Priority: "Normal" }
231% { Customer:"Business",   Order:   9.00 }, { Discount: 0.10, Priority: "Normal" }
232% { Customer:"Business",   Order:  10.00 }, { Discount: 0.15, Priority: "High" }
233% { Customer:"Business",   Order: 120.00 }, { Discount: 0.15, Priority: "High" }
234% { Customer:"Private",    Order:  -2.34 }, { Discount: 0.05, Priority: "Low" }
235% { Customer:"Private",    Order:  10.00 }, { Discount: 0.05, Priority: "Low" }
236% { Customer:"Private",    Order: 101.00 }, { Discount: 0.05, Priority: "Low" }
237% { Customer:"Government", Order:  10.00 }, null
238"#;
239
240/// **Horizontal** decision table,
241///
242/// ```text
243///           ORIENTATION: horizontal
244/// INFORMATION ITEM NAME: no
245///          OUTPUT-LABEL: no
246///   INPUT-OUTPUT-VALUES: yes
247///                OUTPUT: multiple
248///           ANNOTATIONS: yes
249/// ```
250pub const EX_0008: &str = r#"
251  ┌───┬────────────┬───────╥──────────┬───────────╥─────────────┬─────────────┐
252  │ U │  Customer  │ Order ║ Discount │ Priority  ║ Description │  Reference  │
253  │   ├────────────┼───────╫──────────┼───────────╫─────────────┼─────────────┤
254  │   │ "Business",│ <10,  ║   0.10,  │ "Normal", ║             │             │
255  │   │ "Private"  │ >=10  ║   0.15,  │  "High",  ║             │             │
256  │   │            │       ║   0.05   │  "Low"    ║             │             │
257  ╞═══╪════════════╪═══════╬══════════╪═══════════╬═════════════╪═════════════╡
258  │ 1 │ "Business" │ <10   ║   0.10   │ "Normal"  ║    Small    │    Ref 1    │
259  ├───┼────────────┼───────╫──────────┼───────────╫─────────────┼─────────────┤
260  │ 2 │ "Business" │ >=10  ║   0.15   │  "High"   ║    Large    │    Ref 2    │
261  ├───┼────────────┼───────╫──────────┼───────────╫─────────────┼─────────────┤
262  │ 3 │ "Private"  │   -   ║   0.05   │  "Low"    ║     All     │    Ref 3    │
263  └───┴────────────┴───────╨──────────┴───────────╨─────────────┴─────────────┘
264% { Customer: "Business",   Order:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
265% { Customer: "Business",   Order:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
266% { Customer: "Business",   Order:  10.00 }, { "Discount": 0.15, "Priority": "High" }
267% { Customer: "Business",   Order: 120.00 }, { "Discount": 0.15, "Priority": "High" }
268% { Customer: "Private",    Order:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
269% { Customer: "Private",    Order:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
270% { Customer: "Private",    Order: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
271% { Customer: "Government", Order: 300.01 }, null
272"#;
273
274/// **Horizontal** decision table,
275///
276/// ```text
277///           ORIENTATION: horizontal
278/// INFORMATION ITEM NAME: no
279///          OUTPUT-LABEL: yes
280///   INPUT-OUTPUT-VALUES: no
281///                OUTPUT: single
282///           ANNOTATIONS: no
283/// ```
284pub const EX_0009: &str = r#"
285  ┌───┬──────────┬───────╥──────────┐
286  │ U │ Customer │ Order ║ Discount │
287  ╞═══╪══════════╪═══════╬══════════╡
288  │ 1 │"Business"│ <10   ║   0.10   │
289  ├───┼──────────┼───────╫──────────┤
290  │ 2 │"Business"│ >=10  ║   0.15   │
291  ├───┼──────────┼───────╫──────────┤
292  │ 3 │"Private" │   -   ║   0.05   │
293  └───┴──────────┴───────╨──────────┘
294% { Customer:"Business",   Order:  -3.23 }, 0.10
295% { Customer:"Business",   Order:   9.00 }, 0.10
296% { Customer:"Business",   Order:  10.00 }, 0.15
297% { Customer:"Business",   Order: 120.00 }, 0.15
298% { Customer:"Private",    Order:  -2.34 }, 0.05
299% { Customer:"Private",    Order:  10.00 }, 0.05
300% { Customer:"Private",    Order: 101.00 }, 0.05
301% { Customer:"Government", Order:  10.00 }, null
302"#;
303
304/// **Horizontal** decision table,
305///
306/// ```text
307///           ORIENTATION: horizontal
308/// INFORMATION ITEM NAME: no
309///          OUTPUT-LABEL: yes
310///   INPUT-OUTPUT-VALUES: no
311///                OUTPUT: single
312///           ANNOTATIONS: yes
313/// ```
314pub const EX_0010: &str = r#"
315  ┌───┬──────────┬───────╥──────────╥─────────────┐
316  │ U │ Customer │ Order ║ Discount ║ Description │
317  ╞═══╪══════════╪═══════╬══════════╬═════════════╡
318  │ 1 │"Business"│ <10   ║   0.10   ║ Small       │
319  ├───┼──────────┼───────╫──────────╫─────────────┤
320  │ 2 │"Business"│ >=10  ║   0.15   ║ Large       │
321  ├───┼──────────┼───────╫──────────╫─────────────┤
322  │ 3 │"Private" │   -   ║   0.05   ║ All         │
323  └───┴──────────┴───────╨──────────╨─────────────┘
324% { Customer:"Business",   Order:  -3.23 }, 0.10
325% { Customer:"Business",   Order:   9.00 }, 0.10
326% { Customer:"Business",   Order:  10.00 }, 0.15
327% { Customer:"Business",   Order: 120.00 }, 0.15
328% { Customer:"Private",    Order:  -2.34 }, 0.05
329% { Customer:"Private",    Order:  10.00 }, 0.05
330% { Customer:"Private",    Order: 101.00 }, 0.05
331% { Customer:"Government", Order:  10.00 }, null
332"#;
333
334/// **Horizontal** decision table,
335///
336/// ```text
337///           ORIENTATION: horizontal
338/// INFORMATION ITEM NAME: no
339///          OUTPUT-LABEL: yes
340///   INPUT-OUTPUT-VALUES: no
341///                OUTPUT: multiple
342///           ANNOTATIONS: no
343/// ```
344pub const EX_0011: &str = r#"
345  ┌───┬──────────┬───────╥─────────────────────┐
346  │ U │ Customer │ Order ║    Order options    │
347  │   │   type   │ size  ╟──────────┬──────────┤
348  │   │          │       ║ Discount │ Priority │
349  ╞═══╪══════════╪═══════╬══════════╪══════════╡
350  │ 1 │"Business"│ <10   ║   0.10   │ "Normal" │
351  ├───┼──────────┼───────╫──────────┼──────────┤
352  │ 2 │"Business"│ >=10  ║   0.15   │  "High"  │
353  ├───┼──────────┼───────╫──────────┼──────────┤
354  │ 3 │"Private" │   -   ║   0.05   │  "Low"   │
355  └───┴──────────┴───────╨──────────┴──────────┘
356% { Customer type: "Business",   Order size:  -3.23 }, { Discount: 0.10, Priority: "Normal" }
357% { Customer type: "Business",   Order size:   9.00 }, { Discount: 0.10, Priority: "Normal" }
358% { Customer type: "Business",   Order size:  10.00 }, { Discount: 0.15, Priority: "High" }
359% { Customer type: "Business",   Order size: 120.00 }, { Discount: 0.15, Priority: "High" }
360% { Customer type: "Private",    Order size:  -2.34 }, { Discount: 0.05, Priority: "Low" }
361% { Customer type: "Private",    Order size:  10.00 }, { Discount: 0.05, Priority: "Low" }
362% { Customer type: "Private",    Order size: 101.00 }, { Discount: 0.05, Priority: "Low" }
363% { Customer type: "Government", Order size: 300.01 }, null
364"#;
365
366/// **Horizontal** decision table,
367///
368/// ```text
369///           ORIENTATION: horizontal
370/// INFORMATION ITEM NAME: no
371///          OUTPUT-LABEL: yes
372///   INPUT-OUTPUT-VALUES: no
373///                OUTPUT: multiple
374///           ANNOTATIONS: yes
375/// ```
376pub const EX_0012: &str = r#"
377  ┌───┬──────────┬───────╥─────────────────────╥─────────────┬───────────┐
378  │ U │ Customer │ Order ║    Order options    ║             │           │
379  │   │          │       ╟──────────┬──────────╢ Description │ Reference │
380  │   │   type   │ size  ║ Discount │ Priority ║             │           │
381  ╞═══╪══════════╪═══════╬══════════╪══════════╬═════════════╪═══════════╡
382  │ 1 │"Business"│  <10  ║   0.10   │ "Normal" ║ Small order │   Ref 1   │
383  ├───┼──────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
384  │ 2 │"Business"│ >=10  ║   0.15   │  "High"  ║ Large order │   Ref 2   │
385  ├───┼──────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
386  │ 3 │"Private" │   -   ║   0.05   │  "Low"   ║ All orders  │   Ref 3   │
387  └───┴──────────┴───────╨──────────┴──────────╨─────────────┴───────────┘
388% { Customer type: "Business",   Order size:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
389% { Customer type: "Business",   Order size:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
390% { Customer type: "Business",   Order size:  10.00 }, { "Discount": 0.15, "Priority": "High" }
391% { Customer type: "Business",   Order size: 120.00 }, { "Discount": 0.15, "Priority": "High" }
392% { Customer type: "Private",    Order size:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
393% { Customer type: "Private",    Order size:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
394% { Customer type: "Private",    Order size: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
395% { Customer type: "Government", Order size: 300.01 }, null
396"#;
397
398/// **Horizontal** decision table,
399///
400/// ```text
401///           ORIENTATION: horizontal
402/// INFORMATION ITEM NAME: no
403///          OUTPUT-LABEL: yes
404///   INPUT-OUTPUT-VALUES: yes
405///                OUTPUT: single
406///           ANNOTATIONS: no
407/// ```
408pub const EX_0013: &str = r#"
409  ┌───┬───────────┬───────╥──────────┐
410  │ U │ Customer  │ Order ║ Discount │
411  │   ├───────────┼───────╫──────────┤
412  │   │"Business",│  <10, ║   0.10,  │
413  │   │"Private"  │ >=10  ║   0.15,  │
414  │   │           │       ║   0.05   │
415  ╞═══╪═══════════╪═══════╬══════════╡
416  │ 1 │"Business" │  <10  ║   0.10   │
417  ├───┼───────────┼───────╫──────────┤
418  │ 2 │"Business" │ >=10  ║   0.15   │
419  ├───┼───────────┼───────╫──────────┤
420  │ 3 │"Private"  │   -   ║   0.05   │
421  └───┴───────────┴───────╨──────────┘
422% { Customer:"Business",   Order:  -3.23 }, 0.10
423% { Customer:"Business",   Order:   9.00 }, 0.10
424% { Customer:"Business",   Order:  10.00 }, 0.15
425% { Customer:"Business",   Order: 120.00 }, 0.15
426% { Customer:"Private",    Order:  -2.34 }, 0.05
427% { Customer:"Private",    Order:  10.00 }, 0.05
428% { Customer:"Private",    Order: 101.00 }, 0.05
429% { Customer:"Government", Order:  10.00 }, null
430"#;
431
432/// **Horizontal** decision table,
433///
434/// ```text
435///           ORIENTATION: horizontal
436/// INFORMATION ITEM NAME: no
437///          OUTPUT-LABEL: yes
438///   INPUT-OUTPUT-VALUES: yes
439///                OUTPUT: single
440///           ANNOTATIONS: yes
441/// ```
442pub const EX_0014: &str = r#"
443  ┌───┬───────────┬───────╥──────────╥─────────────┬───────────┐
444  │ U │ Customer  │ Order ║ Discount ║ Description │ Reference │
445  │   ├───────────┼───────╫──────────╫─────────────┼───────────┤
446  │   │"Business",│  <10, ║   0.10,  ║             │           │
447  │   │"Private"  │ >=10  ║   0.15,  ║             │           │
448  │   │           │       ║   0.05   ║             │           │
449  ╞═══╪═══════════╪═══════╬══════════╬═════════════╪═══════════╡
450  │ 1 │"Business" │  <10  ║   0.10   ║ Small order │   Ref 1   │
451  ├───┼───────────┼───────╫──────────╫─────────────┼───────────┤
452  │ 2 │"Business" │ >=10  ║   0.15   ║ Large order │   Ref 2   │
453  ├───┼───────────┼───────╫──────────╫─────────────┼───────────┤
454  │ 3 │"Private"  │   -   ║   0.05   ║ All orders  │   Ref 3   │
455  └───┴───────────┴───────╨──────────╨─────────────┴───────────┘
456% { Customer:"Business",   Order:  -3.23 }, 0.10
457% { Customer:"Business",   Order:   9.00 }, 0.10
458% { Customer:"Business",   Order:  10.00 }, 0.15
459% { Customer:"Business",   Order: 120.00 }, 0.15
460% { Customer:"Private",    Order:  -2.34 }, 0.05
461% { Customer:"Private",    Order:  10.00 }, 0.05
462% { Customer:"Private",    Order: 101.00 }, 0.05
463% { Customer:"Government", Order:  10.00 }, null
464"#;
465
466/// **Horizontal** decision table,
467///
468/// ```text
469///           ORIENTATION: horizontal
470/// INFORMATION ITEM NAME: no
471///          OUTPUT-LABEL: yes
472///   INPUT-OUTPUT-VALUES: yes
473///                OUTPUT: multiple
474///           ANNOTATIONS: no
475/// ```
476pub const EX_0015: &str = r#"
477  ┌───┬───────────┬───────╥─────────────────────┐
478  │ U │           │       ║    Order options    │
479  │   │ Customer  │ Order ╟──────────┬──────────┤
480  │   │   type    │ size  ║ Discount │ Priority │
481  │   ├───────────┼───────╫──────────┼──────────┤
482  │   │"Business",│  <10, ║   0.10,  │"Normal", │
483  │   │"Private"  │ >=10  ║   0.15,  │ "High",  │
484  │   │           │       ║   0.05   │ "Low"    │
485  ╞═══╪═══════════╪═══════╬══════════╪══════════╡
486  │ 1 │"Business" │  <10  ║   0.10   │ "Normal" │
487  ├───┼───────────┼───────╫──────────┼──────────┤
488  │ 2 │"Business" │ >=10  ║   0.15   │  "High"  │
489  ├───┼───────────┼───────╫──────────┼──────────┤
490  │ 3 │"Private"  │   -   ║   0.05   │  "Low"   │
491  └───┴───────────┴───────╨──────────┴──────────┘
492% { Customer type: "Business",   Order size:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
493% { Customer type: "Business",   Order size:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
494% { Customer type: "Business",   Order size:  10.00 }, { "Discount": 0.15, "Priority": "High" }
495% { Customer type: "Business",   Order size: 120.00 }, { "Discount": 0.15, "Priority": "High" }
496% { Customer type: "Private",    Order size:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
497% { Customer type: "Private",    Order size:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
498% { Customer type: "Private",    Order size: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
499% { Customer type: "Government", Order size: 300.01 }, null
500"#;
501
502/// **Horizontal** decision table,
503///
504/// ```text
505///           ORIENTATION: horizontal
506/// INFORMATION ITEM NAME: no
507///          OUTPUT-LABEL: yes
508///   INPUT-OUTPUT-VALUES: yes
509///                OUTPUT: multiple
510///           ANNOTATIONS: yes
511/// ```
512pub const EX_0016: &str = r#"
513  ┌───┬───────────┬───────╥─────────────────────╥─────────────┬───────────┐
514  │ U │           │       ║    Order options    ║             │           │
515  │   │ Customer  │ Order ╟──────────┬──────────╢ Description │ Reference │
516  │   │   type    │ size  ║ Discount │ Priority ║             │           │
517  │   ├───────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
518  │   │"Business",│  <10, ║   0.10,  │"Normal", ║             │           │
519  │   │"Private"  │ >=10  ║   0.15,  │ "High",  ║             │           │
520  │   │           │       ║   0.05   │ "Low"    ║             │           │
521  ╞═══╪═══════════╪═══════╬══════════╪══════════╬═════════════╪═══════════╡
522  │ 1 │"Business" │  <10  ║   0.10   │ "Normal" ║ Small order │   Ref 1   │
523  ├───┼───────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
524  │ 2 │"Business" │ >=10  ║   0.15   │  "High"  ║ Large order │   Ref 2   │
525  ├───┼───────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
526  │ 3 │"Private"  │   -   ║   0.05   │  "Low"   ║ All orders  │   Ref 3   │
527  └───┴───────────┴───────╨──────────┴──────────╨─────────────┴───────────┘
528% { Customer type: "Business",   Order size:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
529% { Customer type: "Business",   Order size:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
530% { Customer type: "Business",   Order size:  10.00 }, { "Discount": 0.15, "Priority": "High" }
531% { Customer type: "Business",   Order size: 120.00 }, { "Discount": 0.15, "Priority": "High" }
532% { Customer type: "Private",    Order size:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
533% { Customer type: "Private",    Order size:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
534% { Customer type: "Private",    Order size: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
535% { Customer type: "Government", Order size: 300.01 }, null
536"#;
537
538/// **Horizontal** decision table,
539///
540/// ```text
541///           ORIENTATION: horizontal
542/// INFORMATION ITEM NAME: yes
543///          OUTPUT-LABEL: no
544///   INPUT-OUTPUT-VALUES: no
545///                OUTPUT: single
546///           ANNOTATIONS: no
547/// ```
548pub const EX_0017: &str = r#"
549  ┌─────────────────────────────┐
550  │ Discount                    │
551  ├───┬──────────┬───────╥──────┤
552  │ U │ Customer │ Order ║      │
553  ╞═══╪══════════╪═══════╬══════╡
554  │ 1 │"Business"│  <10  ║ 0.10 │
555  ├───┼──────────┼───────╫──────┤
556  │ 2 │"Business"│ >=10  ║ 0.15 │
557  ├───┼──────────┼───────╫──────┤
558  │ 3 │"Private" │   -   ║ 0.05 │
559  └───┴──────────┴───────╨──────┘
560% { Customer:"Business",   Order:  -3.23 }, 0.10
561% { Customer:"Business",   Order:   9.00 }, 0.10
562% { Customer:"Business",   Order:  10.00 }, 0.15
563% { Customer:"Business",   Order: 120.00 }, 0.15
564% { Customer:"Private",    Order:  -2.34 }, 0.05
565% { Customer:"Private",    Order:  10.00 }, 0.05
566% { Customer:"Private",    Order: 101.00 }, 0.05
567% { Customer:"Government", Order:  10.00 }, null
568"#;
569
570/// **Horizontal** decision table,
571///
572/// ```text
573///           ORIENTATION: horizontal
574/// INFORMATION ITEM NAME: yes
575///          OUTPUT-LABEL: no
576///   INPUT-OUTPUT-VALUES: no
577///                OUTPUT: single
578///           ANNOTATIONS: yes
579/// ```
580pub const EX_0018: &str = r#"
581  ┌──────────────┐
582  │   Discount   │
583  ├───┬──────────┼───────╥──────╥─────────────┐
584  │ U │ Customer │ Order ║      ║ Description │
585  ╞═══╪══════════╪═══════╬══════╬═════════════╡
586  │ 1 │"Business"│  <10  ║ 0.10 ║ Small order │
587  ├───┼──────────┼───────╫──────╫─────────────┤
588  │ 2 │"Business"│ >=10  ║ 0.15 ║ Large order │
589  ├───┼──────────┼───────╫──────╫─────────────┤
590  │ 3 │"Private" │   -   ║ 0.05 ║ All orders  │
591  └───┴──────────┴───────╨──────╨─────────────┘
592% { Customer:"Business",   Order:  -3.23 }, 0.10
593% { Customer:"Business",   Order:   9.00 }, 0.10
594% { Customer:"Business",   Order:  10.00 }, 0.15
595% { Customer:"Business",   Order: 120.00 }, 0.15
596% { Customer:"Private",    Order:  -2.34 }, 0.05
597% { Customer:"Private",    Order:  10.00 }, 0.05
598% { Customer:"Private",    Order: 101.00 }, 0.05
599% { Customer:"Government", Order:  10.00 }, null
600"#;
601
602/// **Horizontal** decision table,
603///
604/// ```text
605///           ORIENTATION: horizontal
606/// INFORMATION ITEM NAME: yes
607///          OUTPUT-LABEL: no
608///   INPUT-OUTPUT-VALUES: no
609///                OUTPUT: multiple
610///           ANNOTATIONS: no
611/// ```
612pub const EX_0019: &str = r#"
613  ┌───────────────────────┐
614  │             Order     │
615  │             options   │
616  ├───┬──────────┬───────╥┴─────────┬──────────┐
617  │ U │ Customer │ Order ║ Discount │ Priority │
618  ╞═══╪══════════╪═══════╬══════════╪══════════╡
619  │ 1 │"Business"│  <10  ║   0.10   │ "Normal" │
620  ├───┼──────────┼───────╫──────────┼──────────┤
621  │ 2 │"Business"│ >=10  ║   0.15   │  "High"  │
622  ├───┼──────────┼───────╫──────────┼──────────┤
623  │ 3 │"Private" │   -   ║   0.05   │  "Low"   │
624  └───┴──────────┴───────╨──────────┴──────────┘
625% { Customer: "Business",   Order:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
626% { Customer: "Business",   Order:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
627% { Customer: "Business",   Order:  10.00 }, { "Discount": 0.15, "Priority": "High" }
628% { Customer: "Business",   Order: 120.00 }, { "Discount": 0.15, "Priority": "High" }
629% { Customer: "Private",    Order:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
630% { Customer: "Private",    Order:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
631% { Customer: "Private",    Order: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
632% { Customer: "Government", Order: 300.01 }, null
633"#;
634
635/// **Horizontal** decision table,
636///
637/// ```text
638///           ORIENTATION: horizontal
639/// INFORMATION ITEM NAME: yes
640///          OUTPUT-LABEL: no
641///   INPUT-OUTPUT-VALUES: no
642///                OUTPUT: multiple
643///           ANNOTATIONS: yes
644/// ```
645pub const EX_0020: &str = r#"
646  ┌───────────────────────┐
647  │             Order     │
648  │             options   │
649  ├───┬──────────┬───────╥┴─────────┬──────────╥─────────────┬───────────┐
650  │ U │ Customer │ Order ║ Discount │ Priority ║ Description │ Reference │
651  ╞═══╪══════════╪═══════╬══════════╪══════════╬═════════════╪═══════════╡
652  │ 1 │"Business"│  <10  ║   0.10   │ "Normal" ║ Small order │   Ref 1   │
653  ├───┼──────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
654  │ 2 │"Business"│ >=10  ║   0.15   │  "High"  ║ Large order │   Ref 2   │
655  ├───┼──────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
656  │ 3 │"Private" │   -   ║   0.05   │  "Low"   ║ All orders  │   Ref 3   │
657  └───┴──────────┴───────╨──────────┴──────────╨─────────────┴───────────┘
658% { Customer: "Business",   Order:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
659% { Customer: "Business",   Order:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
660% { Customer: "Business",   Order:  10.00 }, { "Discount": 0.15, "Priority": "High" }
661% { Customer: "Business",   Order: 120.00 }, { "Discount": 0.15, "Priority": "High" }
662% { Customer: "Private",    Order:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
663% { Customer: "Private",    Order:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
664% { Customer: "Private",    Order: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
665% { Customer: "Government", Order: 300.01 }, null
666"#;
667
668/// **Horizontal** decision table,
669///
670/// ```text
671///           ORIENTATION: horizontal
672/// INFORMATION ITEM NAME: yes
673///          OUTPUT-LABEL: no
674///   INPUT-OUTPUT-VALUES: yes
675///                OUTPUT: single
676///           ANNOTATIONS: no
677/// ```
678pub const EX_0021: &str = r#"
679  ┌───────────────┐
680  │   Discount    │
681  ├───┬───────────┼───────╥──────┐
682  │ U │ Customer  │ Order ║      │
683  │   ├───────────┼───────╫──────┤
684  │   │"Business",│  <10, ║ 0.10,│
685  │   │"Private"  │ >=10  ║ 0.15,│
686  │   │           │       ║ 0.05 │
687  ╞═══╪═══════════╪═══════╬══════╡
688  │ 1 │"Business" │  <10  ║ 0.10 │
689  ├───┼───────────┼───────╫──────┤
690  │ 2 │"Business" │ >=10  ║ 0.15 │
691  ├───┼───────────┼───────╫──────┤
692  │ 3 │"Private"  │   -   ║ 0.05 │
693  └───┴───────────┴───────╨──────┘
694% { Customer:"Business",   Order:  -3.23 }, 0.10
695% { Customer:"Business",   Order:   9.00 }, 0.10
696% { Customer:"Business",   Order:  10.00 }, 0.15
697% { Customer:"Business",   Order: 120.00 }, 0.15
698% { Customer:"Private",    Order:  -2.34 }, 0.05
699% { Customer:"Private",    Order:  10.00 }, 0.05
700% { Customer:"Private",    Order: 101.00 }, 0.05
701% { Customer:"Government", Order:  10.00 }, null
702"#;
703
704/// **Horizontal** decision table,
705///
706/// ```text
707///           ORIENTATION: horizontal
708/// INFORMATION ITEM NAME: yes
709///          OUTPUT-LABEL: no
710///   INPUT-OUTPUT-VALUES: yes
711///                OUTPUT: single
712///           ANNOTATIONS: yes
713/// ```
714pub const EX_0022: &str = r#"
715  ┌───────────────┐
716  │   Discount    │
717  ├───┬───────────┼───────╥──────╥─────────────┐
718  │ U │ Customer  │ Order ║      ║ Description │
719  │   ├───────────┼───────╫──────╫─────────────┤
720  │   │"Business",│  <10, ║ 0.10,║             │
721  │   │"Private"  │ >=10  ║ 0.15,║             │
722  │   │           │       ║ 0.05 ║             │
723  ╞═══╪═══════════╪═══════╬══════╬═════════════╡
724  │ 1 │"Business" │  <10  ║ 0.10 ║ Small order │
725  ├───┼───────────┼───────╫──────╫─────────────┤
726  │ 2 │"Business" │ >=10  ║ 0.15 ║ Large order │
727  ├───┼───────────┼───────╫──────╫─────────────┤
728  │ 3 │"Private"  │   -   ║ 0.05 ║ All orders  │
729  └───┴───────────┴───────╨──────╨─────────────┘
730% { Customer:"Business",   Order:  -3.23 }, 0.10
731% { Customer:"Business",   Order:   9.00 }, 0.10
732% { Customer:"Business",   Order:  10.00 }, 0.15
733% { Customer:"Business",   Order: 120.00 }, 0.15
734% { Customer:"Private",    Order:  -2.34 }, 0.05
735% { Customer:"Private",    Order:  10.00 }, 0.05
736% { Customer:"Private",    Order: 101.00 }, 0.05
737% { Customer:"Government", Order:  10.00 }, null
738"#;
739
740/// **Horizontal** decision table,
741///
742/// ```text
743///           ORIENTATION: horizontal
744/// INFORMATION ITEM NAME: yes
745///          OUTPUT-LABEL: no
746///   INPUT-OUTPUT-VALUES: yes
747///                OUTPUT: multiple
748///           ANNOTATIONS: no
749/// ```
750pub const EX_0023: &str = r#"
751  ┌─────────────────────────────────────────────┐
752  │ Order properties                            │
753  ├───┬───────────┬───────╥──────────┬──────────┤
754  │ U │ Customer  │ Order ║ Discount │ Priority │
755  │   ├───────────┼───────╫──────────┼──────────┤
756  │   │"Business",│ <10,  ║   0.10,  │"Normal", │
757  │   │"Private"  │ >=10  ║   0.15,  │ "High",  │
758  │   │           │       ║   0.05   │  "Low"   │
759  ╞═══╪═══════════╪═══════╬══════════╪══════════╡
760  │ 1 │"Business" │ <10   ║   0.10   │ "Normal" │
761  ├───┼───────────┼───────╫──────────┼──────────┤
762  │ 2 │"Business" │ >=10  ║   0.15   │  "High"  │
763  ├───┼───────────┼───────╫──────────┼──────────┤
764  │ 3 │"Private"  │   -   ║   0.05   │  "Low"   │
765  └───┴───────────┴───────╨──────────┴──────────┘
766% { Customer: "Business",   Order:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
767% { Customer: "Business",   Order:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
768% { Customer: "Business",   Order:  10.00 }, { "Discount": 0.15, "Priority": "High" }
769% { Customer: "Business",   Order: 120.00 }, { "Discount": 0.15, "Priority": "High" }
770% { Customer: "Private",    Order:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
771% { Customer: "Private",    Order:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
772% { Customer: "Private",    Order: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
773% { Customer: "Government", Order: 300.01 }, null
774"#;
775
776/// **Horizontal** decision table,
777///
778/// ```text
779///           ORIENTATION: horizontal
780/// INFORMATION ITEM NAME: yes
781///          OUTPUT-LABEL: no
782///   INPUT-OUTPUT-VALUES: yes
783///                OUTPUT: multiple
784///           ANNOTATIONS: yes
785/// ```
786pub const EX_0024: &str = r#"
787  ┌────────────────────────────────────────────────┐
788  │ Order properties                               │
789  ├───┬───────────┬───────╥──────────┬──────────╥──┴────────┐
790  │ U │ Customer  │ Order ║ Discount │ Priority ║ Reference │
791  │   ├───────────┼───────╫──────────┼──────────╫───────────┤
792  │   │"Business",│ <10,  ║   0.10,  │"Normal", ║           │
793  │   │"Private"  │ >=10  ║   0.15,  │ "High",  ║           │
794  │   │           │       ║   0.05   │ "Low"    ║           │
795  ╞═══╪═══════════╪═══════╬══════════╪══════════╬═══════════╡
796  │ 1 │"Business" │ <10   ║   0.10   │ "Normal" ║ Ref 4     │
797  ├───┼───────────┼───────╫──────────┼──────────╫───────────┤
798  │ 2 │"Business" │ >=10  ║   0.15   │  "High"  ║ Ref 3     │
799  ├───┼───────────┼───────╫──────────┼──────────╫───────────┤
800  │ 3 │"Private"  │   -   ║   0.05   │  "Low"   ║ Ref 2     │
801  └───┴───────────┴───────╨──────────┴──────────╨───────────┘
802% { Customer: "Business",   Order:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
803% { Customer: "Business",   Order:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
804% { Customer: "Business",   Order:  10.00 }, { "Discount": 0.15, "Priority": "High" }
805% { Customer: "Business",   Order: 120.00 }, { "Discount": 0.15, "Priority": "High" }
806% { Customer: "Private",    Order:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
807% { Customer: "Private",    Order:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
808% { Customer: "Private",    Order: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
809% { Customer: "Government", Order: 300.01 }, null
810"#;
811
812/// **Horizontal** decision table,
813///
814/// ```text
815///           ORIENTATION: horizontal
816/// INFORMATION ITEM NAME: yes
817///          OUTPUT-LABEL: yes
818///   INPUT-OUTPUT-VALUES: no
819///                OUTPUT: single
820///           ANNOTATIONS: no
821/// ```
822pub const EX_0025: &str = r#"
823  ┌────────────────────┐
824  │ Discount           │
825  ├───┬──────────┬─────┴─╥──────────┐
826  │ U │ Customer │ Order ║ Discount │
827  ╞═══╪══════════╪═══════╬══════════╡
828  │ 1 │"Business"│  <10  ║   0.10   │
829  ├───┼──────────┼───────╫──────────┤
830  │ 2 │"Business"│ >=10  ║   0.15   │
831  ├───┼──────────┼───────╫──────────┤
832  │ 3 │"Private" │   -   ║   0.05   │
833  └───┴──────────┴───────╨──────────┘
834% { Customer:"Business",   Order:  -3.23 }, 0.10
835% { Customer:"Business",   Order:   9.00 }, 0.10
836% { Customer:"Business",   Order:  10.00 }, 0.15
837% { Customer:"Business",   Order: 120.00 }, 0.15
838% { Customer:"Private",    Order:  -2.34 }, 0.05
839% { Customer:"Private",    Order:  10.00 }, 0.05
840% { Customer:"Private",    Order: 101.00 }, 0.05
841% { Customer:"Government", Order:  10.00 }, null
842"#;
843
844/// **Horizontal** decision table,
845///
846/// ```text
847///           ORIENTATION: horizontal
848/// INFORMATION ITEM NAME: yes
849///          OUTPUT-LABEL: yes
850///   INPUT-OUTPUT-VALUES: no
851///                OUTPUT: single
852///           ANNOTATIONS: yes
853/// ```
854pub const EX_0026: &str = r#"
855  ┌────────────────────┐
856  │ Discount           │
857  ├───┬──────────┬─────┴─╥──────────╥─────────────┐
858  │ U │ Customer │ Order ║ Discount ║ Description │
859  ╞═══╪══════════╪═══════╬══════════╬═════════════╡
860  │ 1 │"Business"│  <10  ║   0.10   ║ Small order │
861  ├───┼──────────┼───────╫──────────╫─────────────┤
862  │ 2 │"Business"│ >=10  ║   0.15   ║ Large order │
863  ├───┼──────────┼───────╫──────────╫─────────────┤
864  │ 3 │"Private" │   -   ║   0.05   ║ All orders  │
865  └───┴──────────┴───────╨──────────╨─────────────┘
866% { Customer:"Business",   Order:  -3.23 }, 0.10
867% { Customer:"Business",   Order:   9.00 }, 0.10
868% { Customer:"Business",   Order:  10.00 }, 0.15
869% { Customer:"Business",   Order: 120.00 }, 0.15
870% { Customer:"Private",    Order:  -2.34 }, 0.05
871% { Customer:"Private",    Order:  10.00 }, 0.05
872% { Customer:"Private",    Order: 101.00 }, 0.05
873% { Customer:"Government", Order:  10.00 }, null
874"#;
875
876/// **Horizontal** decision table,
877///
878/// ```text
879///           ORIENTATION: horizontal
880/// INFORMATION ITEM NAME: yes
881///          OUTPUT-LABEL: yes
882///   INPUT-OUTPUT-VALUES: no
883///                OUTPUT: multiple
884///           ANNOTATIONS: no
885/// ```
886pub const EX_0027: &str = r#"
887  ┌──────────────────┐
888  │ Order properties │
889  ├───┬──────────┬───┴───╥─────────────────────┐
890  │ U │ Customer │ Order ║  Order properties   │
891  │   │   type   │ size  ╟──────────┬──────────┤
892  │   │          │       ║ Discount │ Priority │
893  ╞═══╪══════════╪═══════╬══════════╪══════════╡
894  │ 1 │"Business"│  <10  ║   0.10   │ "Normal" │
895  ├───┼──────────┼───────╫──────────┼──────────┤
896  │ 2 │"Business"│ >=10  ║   0.15   │  "High"  │
897  ├───┼──────────┼───────╫──────────┼──────────┤
898  │ 3 │"Private" │   -   ║   0.05   │  "Low"   │
899  └───┴──────────┴───────╨──────────┴──────────┘
900% { Customer type: "Business",   Order size:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
901% { Customer type: "Business",   Order size:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
902% { Customer type: "Business",   Order size:  10.00 }, { "Discount": 0.15, "Priority": "High" }
903% { Customer type: "Business",   Order size: 120.00 }, { "Discount": 0.15, "Priority": "High" }
904% { Customer type: "Private",    Order size:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
905% { Customer type: "Private",    Order size:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
906% { Customer type: "Private",    Order size: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
907% { Customer type: "Government", Order size: 300.01 }, null
908"#;
909
910/// **Horizontal** decision table,
911///
912/// ```text
913///           ORIENTATION: horizontal
914/// INFORMATION ITEM NAME: yes
915///          OUTPUT-LABEL: yes
916///   INPUT-OUTPUT-VALUES: no
917///                OUTPUT: multiple
918///           ANNOTATIONS: yes
919/// ```
920pub const EX_0028: &str = r#"
921  ┌──────────────────┐
922  │ Order properties │
923  ├───┬──────────┬───┴───╥─────────────────────╥─────────────┬───────────┐
924  │ U │ Customer │ Order ║  Order properties   ║             │           │
925  │   │   type   │ size  ╟──────────┬──────────╢ Description │ Reference │
926  │   │          │       ║ Discount │ Priority ║             │           │
927  ╞═══╪══════════╪═══════╬══════════╪══════════╬═════════════╪═══════════╡
928  │ 1 │"Business"│  <10  ║   0.10   │ "Normal" ║ Small order │   Ref 1   │
929  ├───┼──────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
930  │ 2 │"Business"│ >=10  ║   0.15   │  "High"  ║ Large order │   Ref 2   │
931  ├───┼──────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
932  │ 3 │"Private" │   -   ║   0.05   │  "Low"   ║ All orders  │   Ref 3   │
933  └───┴──────────┴───────╨──────────┴──────────╨─────────────┴───────────┘
934% { Customer type: "Business",   Order size:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
935% { Customer type: "Business",   Order size:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
936% { Customer type: "Business",   Order size:  10.00 }, { "Discount": 0.15, "Priority": "High" }
937% { Customer type: "Business",   Order size: 120.00 }, { "Discount": 0.15, "Priority": "High" }
938% { Customer type: "Private",    Order size:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
939% { Customer type: "Private",    Order size:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
940% { Customer type: "Private",    Order size: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
941% { Customer type: "Government", Order size: 300.01 }, null
942"#;
943
944/// **Horizontal** decision table,
945///
946/// ```text
947///           ORIENTATION: horizontal
948/// INFORMATION ITEM NAME: yes
949///          OUTPUT-LABEL: yes
950///   INPUT-OUTPUT-VALUES: yes
951///                OUTPUT: single
952///           ANNOTATIONS: no
953/// ```
954pub const EX_0029: &str = r#"
955  ┌──────────────────────────────────┐
956  │ Discount                         │
957  ├───┬───────────┬───────╥──────────┤
958  │ U │ Customer  │ Order ║ Discount │
959  │   ├───────────┼───────╫──────────┤
960  │   │"Business",│  <10, ║   0.10,  │
961  │   │"Private"  │ >=10  ║   0.15,  │
962  │   │           │       ║   0.05   │
963  ╞═══╪═══════════╪═══════╬══════════╡
964  │ 1 │"Business" │  <10  ║   0.10   │
965  ├───┼───────────┼───────╫──────────┤
966  │ 2 │"Business" │ >=10  ║   0.15   │
967  ├───┼───────────┼───────╫──────────┤
968  │ 3 │"Private"  │   -   ║   0.05   │
969  └───┴───────────┴───────╨──────────┘
970% { Customer:"Business",   Order:  -3.23 }, 0.10
971% { Customer:"Business",   Order:   9.00 }, 0.10
972% { Customer:"Business",   Order:  10.00 }, 0.15
973% { Customer:"Business",   Order: 120.00 }, 0.15
974% { Customer:"Private",    Order:  -2.34 }, 0.05
975% { Customer:"Private",    Order:  10.00 }, 0.05
976% { Customer:"Private",    Order: 101.00 }, 0.05
977% { Customer:"Government", Order:  10.00 }, null
978"#;
979
980/// **Horizontal** decision table,
981/// ```text
982///           ORIENTATION: horizontal
983/// INFORMATION ITEM NAME: yes
984///          OUTPUT-LABEL: yes
985///   INPUT-OUTPUT-VALUES: yes
986///                OUTPUT: single
987///           ANNOTATIONS: yes
988/// ```
989pub const EX_0030: &str = r#"
990  ┌─────────────────────────────────────┐
991  │ Discount                            │
992  ├───┬───────────┬───────╥──────────╥──┴────────┐
993  │ U │ Customer  │ Order ║ Discount ║ Reference │
994  │   ├───────────┼───────╫──────────╫───────────┤
995  │   │"Business",│  <10, ║   0.10,  ║           │
996  │   │"Private"  │ >=10  ║   0.15,  ║           │
997  │   │           │       ║   0.05   ║           │
998  ╞═══╪═══════════╪═══════╬══════════╬═══════════╡
999  │ 1 │"Business" │  <10  ║   0.10   ║     Ref 0 │
1000  ├───┼───────────┼───────╫──────────╫───────────┤
1001  │ 2 │"Business" │ >=10  ║   0.15   ║     Ref 1 │
1002  ├───┼───────────┼───────╫──────────╫───────────┤
1003  │ 3 │"Private"  │   -   ║   0.05   ║     Ref 2 │
1004  └───┴───────────┴───────╨──────────╨───────────┘
1005% { Customer:"Business",   Order:  -3.23 }, 0.10
1006% { Customer:"Business",   Order:   9.00 }, 0.10
1007% { Customer:"Business",   Order:  10.00 }, 0.15
1008% { Customer:"Business",   Order: 120.00 }, 0.15
1009% { Customer:"Private",    Order:  -2.34 }, 0.05
1010% { Customer:"Private",    Order:  10.00 }, 0.05
1011% { Customer:"Private",    Order: 101.00 }, 0.05
1012% { Customer:"Government", Order:  10.00 }, null
1013"#;
1014
1015/// **Horizontal** decision table,
1016///
1017/// ```text
1018///           ORIENTATION: horizontal
1019/// INFORMATION ITEM NAME: yes
1020///          OUTPUT-LABEL: yes
1021///   INPUT-OUTPUT-VALUES: yes
1022///                OUTPUT: multiple
1023///           ANNOTATIONS: no
1024/// ```
1025pub const EX_0031: &str = r#"
1026  ┌─────────────────────────────────────┐
1027  │ Order options                       │
1028  ├───┬───────────┬───────╥─────────────┴───────┐
1029  │ U │           │       ║    Order options    │
1030  │   │ Customer  │ Order ╟──────────┬──────────┤
1031  │   │   type    │ size  ║ Discount │ Priority │
1032  │   ├───────────┼───────╫──────────┼──────────┤
1033  │   │"Business",│  <10, ║   0.10,  │"Normal", │
1034  │   │"Private"  │ >=10  ║   0.15,  │ "High",  │
1035  │   │           │       ║   0.05   │ "Low"    │
1036  ╞═══╪═══════════╪═══════╬══════════╪══════════╡
1037  │ 1 │"Business" │  <10  ║   0.10   │ "Normal" │
1038  ├───┼───────────┼───────╫──────────┼──────────┤
1039  │ 2 │"Business" │ >=10  ║   0.15   │ "High"   │
1040  ├───┼───────────┼───────╫──────────┼──────────┤
1041  │ 3 │"Private"  │   -   ║   0.05   │ "Low"    │
1042  └───┴───────────┴───────╨──────────┴──────────┘
1043% { Customer type: "Business",   Order size:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
1044% { Customer type: "Business",   Order size:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
1045% { Customer type: "Business",   Order size:  10.00 }, { "Discount": 0.15, "Priority": "High" }
1046% { Customer type: "Business",   Order size: 120.00 }, { "Discount": 0.15, "Priority": "High" }
1047% { Customer type: "Private",    Order size:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
1048% { Customer type: "Private",    Order size:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
1049% { Customer type: "Private",    Order size: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
1050% { Customer type: "Government", Order size: 300.01 }, null
1051"#;
1052
1053/// **Horizontal** decision table,
1054///
1055/// ```text
1056///           ORIENTATION: horizontal
1057/// INFORMATION ITEM NAME: yes
1058///          OUTPUT-LABEL: yes
1059///   INPUT-OUTPUT-VALUES: yes
1060///                OUTPUT: multiple
1061///           ANNOTATIONS: yes
1062/// ```
1063pub const EX_0032: &str = r#"
1064  ┌─────────────────────────────────────┐
1065  │ Order options                       │
1066  ├───┬───────────┬───────╥─────────────┴───────╥─────────────┬───────────┐
1067  │ U │           │       ║    Order options    ║             │           │
1068  │   │ Customer  │ Order ╟──────────┬──────────╢ Description │ Reference │
1069  │   │   type    │ size  ║ Discount │ Priority ║             │           │
1070  │   ├───────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
1071  │   │"Business",│  <10, ║   0.10,  │"Normal", ║             │           │
1072  │   │"Private"  │ >=10  ║   0.15,  │ "High",  ║             │           │
1073  │   │           │       ║   0.05   │ "Low"    ║             │           │
1074  ╞═══╪═══════════╪═══════╬══════════╪══════════╬═════════════╪═══════════╡
1075  │ 1 │"Business" │  <10  ║   0.10   │ "Normal" ║ Small order │   Ref 1   │
1076  ├───┼───────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
1077  │ 2 │"Business" │ >=10  ║   0.15   │ "High"   ║ Large order │   Ref 2   │
1078  ├───┼───────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
1079  │ 3 │"Private"  │   -   ║   0.05   │ "Low"    ║ All orders  │   Ref 3   │
1080  └───┴───────────┴───────╨──────────┴──────────╨─────────────┴───────────┘
1081% { Customer type: "Business",   Order size:  -3.23 }, { "Discount": 0.10, "Priority": "Normal" }
1082% { Customer type: "Business",   Order size:   9.00 }, { "Discount": 0.10, "Priority": "Normal" }
1083% { Customer type: "Business",   Order size:  10.00 }, { "Discount": 0.15, "Priority": "High" }
1084% { Customer type: "Business",   Order size: 120.00 }, { "Discount": 0.15, "Priority": "High" }
1085% { Customer type: "Private",    Order size:  -2.34 }, { "Discount": 0.05, "Priority": "Low" }
1086% { Customer type: "Private",    Order size:  10.00 }, { "Discount": 0.05, "Priority": "Low" }
1087% { Customer type: "Private",    Order size: 101.00 }, { "Discount": 0.05, "Priority": "Low" }
1088% { Customer type: "Government", Order size: 300.01 }, null
1089"#;
1090
1091/// **Vertical** decision table,
1092///
1093/// ```text
1094///           ORIENTATION: **vertical**
1095/// INFORMATION ITEM NAME: no
1096///          OUTPUT-LABEL: no
1097///   INPUT-OUTPUT-VALUES: no
1098///                OUTPUT: single
1099///           ANNOTATIONS: no
1100/// ```
1101pub const EX_0033: &str = r#"
1102  ┌─────────────────╥───────────────┬──────────┬───────────────┐
1103  │ Applicant age   ║     <25       │ [25..60] │      >60      │
1104  ├─────────────────╫──────┬────────┼──────────┼────────┬──────┤
1105  │ Medical history ║"good"│ "bad"  │     -    │ "good" │"bad" │
1106  ╞═════════════════╬══════╪════════╪══════════╪════════╪══════╡
1107  │                 ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1108  ├─────────────────╫──────┼────────┼──────────┼────────┼──────┤
1109  │        U        ║  1   │    2   │     3    │   4    │   5  │
1110  └─────────────────╨──────┴────────┴──────────┴────────┴──────┘
1111% { Applicant age: 20, Medical history: "good" }, "Low"
1112% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1113% { Applicant age: 25, Medical history: "good" }, "Medium"
1114% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1115% { Applicant age: 60, Medical history: "good" }, "Medium"
1116% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1117% { Applicant age: 61, Medical history: "good" }, "Medium"
1118% { Applicant age: 61, Medical history: "bad"  }, "High"
1119% { Applicant age: 61, Medical history: "well" }, null
1120"#;
1121
1122/// **Vertical** decision table,
1123///
1124/// ```text
1125///           ORIENTATION: **vertical**
1126/// INFORMATION ITEM NAME: no
1127///          OUTPUT-LABEL: no
1128///   INPUT-OUTPUT-VALUES: no
1129///                OUTPUT: single
1130///           ANNOTATIONS: yes
1131/// ```
1132pub const EX_0034: &str = r#"
1133  ┌─────────────────╥───────────────┬──────────┬───────────────┐
1134  │ Applicant age   ║     <25       │ [25..60] │      >60      │
1135  ├─────────────────╫──────┬────────┼──────────┼────────┬──────┤
1136  │ Medical history ║"good"│ "bad"  │     -    │ "good" │"bad" │
1137  ╞═════════════════╬══════╪════════╪══════════╪════════╪══════╡
1138  │                 ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1139  ╞═════════════════╬══════╪════════╪══════════╪════════╪══════╡
1140  │ Reference       ║ Ref0 │  Ref1  │   Ref2   │  Ref3  │ Ref4 │
1141  ├─────────────────╫──────┼────────┼──────────┼────────┼──────┤
1142  │        U        ║  1   │    2   │     3    │   4    │   5  │
1143  └─────────────────╨──────┴────────┴──────────┴────────┴──────┘
1144% { Applicant age: 20, Medical history: "good" }, "Low"
1145% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1146% { Applicant age: 25, Medical history: "good" }, "Medium"
1147% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1148% { Applicant age: 60, Medical history: "good" }, "Medium"
1149% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1150% { Applicant age: 61, Medical history: "good" }, "Medium"
1151% { Applicant age: 61, Medical history: "bad"  }, "High"
1152% { Applicant age: 61, Medical history: "well" }, null
1153"#;
1154
1155/// **Vertical** decision table,
1156///
1157/// ```text
1158///           ORIENTATION: **vertical**
1159/// INFORMATION ITEM NAME: no
1160///          OUTPUT-LABEL: no
1161///   INPUT-OUTPUT-VALUES: no
1162///                OUTPUT: multiple
1163///           ANNOTATIONS: no
1164/// ```
1165pub const EX_0035: &str = r#"
1166  ┌───────────────────────╥───────────────┬──────────┬───────────────┐
1167  │ Applicant age         ║     <25       │ [25..60] │      >60      │
1168  ├───────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1169  │ Medical history       ║"good"│ "bad"  │     -    │ "good" │"bad" │
1170  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1171  │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1172  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1173  │ Special Discount      ║  10  │    7   │     6    │    4   │  0   │
1174  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1175  │           U           ║  1   │    2   │     3    │   4    │   5  │
1176  └───────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1177% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1178% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 7}
1179% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 6}
1180% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 6}
1181% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 6}
1182% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 6}
1183% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 4}
1184% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1185% { Applicant age: 61, Medical history: "well" }, null
1186"#;
1187
1188/// **Vertical** decision table,
1189///
1190/// ```text
1191///           ORIENTATION: **vertical**
1192/// INFORMATION ITEM NAME: no
1193///          OUTPUT-LABEL: no
1194///   INPUT-OUTPUT-VALUES: no
1195///                OUTPUT: multiple
1196///           ANNOTATIONS: yes
1197/// ```
1198pub const EX_0036: &str = r#"
1199  ┌───────────────────────╥───────────────┬──────────┬───────────────┐
1200  │ Applicant age         ║     <25       │ [25..60] │      >60      │
1201  ├───────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1202  │ Medical history       ║"good"│ "bad"  │     -    │ "good" │"bad" │
1203  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1204  │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1205  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1206  │ Special Discount      ║  10  │    4   │     5    │    3   │  0   │
1207  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1208  │ Additional acceptance ║ No   │   No   │    No    │   No   │ Yes  │
1209  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1210  │ Reference             ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
1211  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1212  │           U           ║  1   │    2   │     3    │   4    │   5  │
1213  └───────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1214% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1215% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 4}
1216% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1217% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1218% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1219% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1220% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 3}
1221% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1222% { Applicant age: 61, Medical history: "well" }, null
1223"#;
1224
1225/// **Vertical** decision table,
1226///
1227/// ```text
1228///           ORIENTATION: **vertical**
1229/// INFORMATION ITEM NAME: no
1230///          OUTPUT-LABEL: no
1231///   INPUT-OUTPUT-VALUES: yes
1232///                OUTPUT: single
1233///           ANNOTATIONS: no
1234/// ```
1235pub const EX_0037: &str = r#"
1236  ┌───────────────────────┬─────────────────────╥───────────────┬──────────┬───────────────┐
1237  │ Applicant age         │ <25, [25..60], >60  ║     <25       │ [25..60] │      >60      │
1238  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1239  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1240  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1241  │                       │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1242  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1243  │           U           │                     ║  1   │    2   │     3    │   4    │   5  │
1244  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1245% { Applicant age: 20, Medical history: "good" }, "Low"
1246% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1247% { Applicant age: 25, Medical history: "good" }, "Medium"
1248% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1249% { Applicant age: 60, Medical history: "good" }, "Medium"
1250% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1251% { Applicant age: 61, Medical history: "good" }, "Medium"
1252% { Applicant age: 61, Medical history: "bad"  }, "High"
1253% { Applicant age: 61, Medical history: "well" }, null
1254"#;
1255
1256/// **Vertical** decision table,
1257///
1258/// ```text
1259///           ORIENTATION: **vertical**
1260/// INFORMATION ITEM NAME: no
1261///          OUTPUT-LABEL: no
1262///   INPUT-OUTPUT-VALUES: yes
1263///                OUTPUT: single
1264///           ANNOTATIONS: yes
1265/// ```
1266pub const EX_0038: &str = r#"
1267  ┌───────────────────────┬─────────────────────╥───────────────┬──────────┬───────────────┐
1268  │ Applicant age         │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
1269  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1270  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1271  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1272  │                       │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1273  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1274  │ Additional acceptance │                     ║ No   │   No   │    No    │   No   │ Yes  │
1275  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1276  │ Reference             │                     ║  R0  │   R1   │    R2    │   R3   │  R4  │
1277  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1278  │           U           │                     ║  1   │    2   │     3    │   4    │   5  │
1279  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1280% { Applicant age: 20, Medical history: "good" }, "Low"
1281% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1282% { Applicant age: 25, Medical history: "good" }, "Medium"
1283% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1284% { Applicant age: 60, Medical history: "good" }, "Medium"
1285% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1286% { Applicant age: 61, Medical history: "good" }, "Medium"
1287% { Applicant age: 61, Medical history: "bad"  }, "High"
1288% { Applicant age: 61, Medical history: "well" }, null
1289"#;
1290
1291/// **Vertical** decision table,
1292///
1293/// ```text
1294///           ORIENTATION: **vertical**
1295/// INFORMATION ITEM NAME: no
1296///          OUTPUT-LABEL: no
1297///   INPUT-OUTPUT-VALUES: yes
1298///                OUTPUT: multiple
1299///           ANNOTATIONS: no
1300/// ```
1301pub const EX_0039: &str = r#"
1302  ┌───────────────────────┬─────────────────────╥───────────────┬──────────┬───────────────┐
1303  │ Applicant age         │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
1304  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1305  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1306  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1307  │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1308  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1309  │ Special Discount      │     0,3,5,6,10      ║  10  │    6   │     5    │    3   │  0   │
1310  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1311  │           U           │                     ║   1  │    2   │     3    │    4   │  5   │
1312  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1313% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1314% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 6}
1315% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1316% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1317% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1318% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1319% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 3}
1320% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1321% { Applicant age: 61, Medical history: "well" }, null
1322"#;
1323
1324/// **Vertical** decision table,
1325///
1326/// ```text
1327///           ORIENTATION: **vertical**
1328/// INFORMATION ITEM NAME: no
1329///          OUTPUT-LABEL: no
1330///   INPUT-OUTPUT-VALUES: yes
1331///                OUTPUT: multiple
1332///           ANNOTATIONS: yes
1333/// ```
1334pub const EX_0040: &str = r#"
1335  ┌───────────────────────┬─────────────────────╥───────────────┬──────────┬───────────────┐
1336  │ Applicant age         │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
1337  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1338  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1339  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1340  │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1341  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1342  │ Special Discount      │     0, 5, 10        ║  10  │    5   │     5    │    5   │  0   │
1343  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1344  │ Additional acceptance │                     ║ No   │   No   │    No    │   No   │ Yes  │
1345  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1346  │ Reference             │                     ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
1347  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1348  │           U           │                     ║  1   │    2   │     3    │   4    │   5  │
1349  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1350% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1351% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1352% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1353% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1354% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1355% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1356% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1357% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1358% { Applicant age: 61, Medical history: "well" }, null
1359"#;
1360
1361/// **Vertical** decision table,
1362///
1363/// ```text
1364///           ORIENTATION: **vertical**
1365/// INFORMATION ITEM NAME: no
1366///          OUTPUT-LABEL: yes
1367///   INPUT-OUTPUT-VALUES: no
1368///                OUTPUT: single
1369///           ANNOTATIONS: no
1370/// ```
1371pub const EX_0041: &str = r#"
1372  ┌───────────────────────╥───────────────┬──────────┬───────────────┐
1373  │ Applicant age         ║     <25       │ [25..60] │      >60      │
1374  ├───────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1375  │ Medical history       ║"good"│ "bad"  │     -    │ "good" │"bad" │
1376  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1377  │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1378  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1379  │           U           ║  1   │    2   │     3    │   4    │   5  │
1380  └───────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1381% { Applicant age: 20, Medical history: "good" }, "Low"
1382% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1383% { Applicant age: 25, Medical history: "good" }, "Medium"
1384% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1385% { Applicant age: 60, Medical history: "good" }, "Medium"
1386% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1387% { Applicant age: 61, Medical history: "good" }, "Medium"
1388% { Applicant age: 61, Medical history: "bad"  }, "High"
1389% { Applicant age: 61, Medical history: "well" }, null
1390"#;
1391
1392/// **Vertical** decision table,
1393///
1394/// ```text
1395///           ORIENTATION: **vertical**
1396/// INFORMATION ITEM NAME: no
1397///          OUTPUT-LABEL: yes
1398///   INPUT-OUTPUT-VALUES: no
1399///                OUTPUT: single
1400///           ANNOTATIONS: yes
1401/// ```
1402pub const EX_0042: &str = r#"
1403  ┌───────────────────────╥───────────────┬──────────┬───────────────┐
1404  │ Applicant age         ║     <25       │ [25..60] │      >60      │
1405  ├───────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1406  │ Medical history       ║"good"│ "bad"  │     -    │ "good" │"bad" │
1407  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1408  │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1409  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1410  │ Additional acceptance ║ No   │   No   │    No    │   No   │ Yes  │
1411  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1412  │ Reference             ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
1413  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1414  │           U           ║  1   │    2   │     3    │   4    │   5  │
1415  └───────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1416% { Applicant age: 20, Medical history: "good" }, "Low"
1417% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1418% { Applicant age: 25, Medical history: "good" }, "Medium"
1419% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1420% { Applicant age: 60, Medical history: "good" }, "Medium"
1421% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1422% { Applicant age: 61, Medical history: "good" }, "Medium"
1423% { Applicant age: 61, Medical history: "bad"  }, "High"
1424% { Applicant age: 61, Medical history: "well" }, null
1425"#;
1426
1427/// **Vertical** decision table,
1428///
1429/// ```text
1430///           ORIENTATION: **vertical**
1431/// INFORMATION ITEM NAME: no
1432///          OUTPUT-LABEL: yes
1433///   INPUT-OUTPUT-VALUES: no
1434///                OUTPUT: multiple
1435///           ANNOTATIONS: no
1436/// ```
1437pub const EX_0043: &str = r#"
1438  ┌─────────────────────────────────╥───────────────┬──────────┬───────────────┐
1439  │ Applicant age                   ║     <25       │ [25..60] │      >60      │
1440  ├─────────────────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1441  │ Medical history                 ║"good"│ "bad"  │     -    │ "good" │"bad" │
1442  ╞═════════╤═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1443  │ Sell    │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1444  │         ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1445  │ options │ Special Discount      ║  10  │    5   │     5    │   5    │  0   │
1446  ├─────────┴───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1447  │                U                ║   1  │    2   │     3    │   4    │  5   │
1448  └─────────────────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1449% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1450% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1451% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1452% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1453% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1454% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1455% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1456% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1457% { Applicant age: 61, Medical history: "well" }, null
1458"#;
1459
1460/// **Vertical** decision table,
1461///
1462/// ```text
1463///           ORIENTATION: **vertical**
1464/// INFORMATION ITEM NAME: no
1465///          OUTPUT-LABEL: yes
1466///   INPUT-OUTPUT-VALUES: no
1467///                OUTPUT: multiple
1468///           ANNOTATIONS: yes
1469/// ```
1470pub const EX_0044: &str = r#"
1471  ┌─────────────────────────────────╥───────────────┬──────────┬───────────────┐
1472  │ Applicant age                   ║     <25       │ [25..60] │      >60      │
1473  ├─────────────────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1474  │ Medical history                 ║"good"│ "bad"  │     -    │ "good" │"bad" │
1475  ╞═════════╤═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1476  │ Sell    │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1477  │         ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1478  │ options │ Special Discount      ║  10  │    5   │     5    │    5   │  0   │
1479  ╞═════════╧═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1480  │ Additional acceptance           ║ No   │   No   │    No    │   No   │ Yes  │
1481  ├─────────────────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1482  │ Reference                       ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
1483  ├─────────────────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1484  │ U                               ║  1   │    2   │     3    │   4    │   5  │
1485  └─────────────────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1486% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1487% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1488% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1489% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1490% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1491% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1492% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1493% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1494% { Applicant age: 61, Medical history: "well" }, null
1495"#;
1496
1497/// **Vertical** decision table,
1498///
1499/// ```text
1500///           ORIENTATION: **vertical**
1501/// INFORMATION ITEM NAME: no
1502///          OUTPUT-LABEL: yes
1503///   INPUT-OUTPUT-VALUES: yes
1504///                OUTPUT: single
1505///           ANNOTATIONS: no
1506/// ```
1507pub const EX_0045: &str = r#"
1508  ┌───────────────────────┬─────────────────────╥───────────────┬──────────┬───────────────┐
1509  │ Applicant age         │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
1510  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1511  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1512  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1513  │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1514  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1515  │           U           │                     ║  1   │    2   │     3    │   4    │   5  │
1516  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1517% { Applicant age: 20, Medical history: "good" }, "Low"
1518% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1519% { Applicant age: 25, Medical history: "good" }, "Medium"
1520% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1521% { Applicant age: 60, Medical history: "good" }, "Medium"
1522% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1523% { Applicant age: 61, Medical history: "good" }, "Medium"
1524% { Applicant age: 61, Medical history: "bad"  }, "High"
1525% { Applicant age: 61, Medical history: "well" }, null
1526"#;
1527
1528/// **Vertical** decision table,
1529///
1530/// ```text
1531///           ORIENTATION: **vertical**
1532/// INFORMATION ITEM NAME: no
1533///          OUTPUT-LABEL: yes
1534///   INPUT-OUTPUT-VALUES: yes
1535///                OUTPUT: single
1536///           ANNOTATIONS: yes
1537/// ```
1538pub const EX_0046: &str = r#"
1539  ┌───────────────────────┬─────────────────────╥───────────────┬──────────┬───────────────┐
1540  │ Applicant age         │ <25, [25..60], >60  ║     <25       │ [25..60] │      >60      │
1541  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1542  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1543  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1544  │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1545  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1546  │ Additional acceptance │                     ║ No   │   No   │    No    │   No   │ Yes  │
1547  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1548  │ Reference             │                     ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
1549  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1550  │           U           │                     ║  1   │    2   │     3    │   4    │   5  │
1551  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1552% { Applicant age: 20, Medical history: "good" }, "Low"
1553% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1554% { Applicant age: 25, Medical history: "good" }, "Medium"
1555% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1556% { Applicant age: 60, Medical history: "good" }, "Medium"
1557% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1558% { Applicant age: 61, Medical history: "good" }, "Medium"
1559% { Applicant age: 61, Medical history: "bad"  }, "High"
1560% { Applicant age: 61, Medical history: "well" }, null
1561"#;
1562
1563/// **Vertical** decision table,
1564///
1565/// ```text
1566///           ORIENTATION: **vertical**
1567/// INFORMATION ITEM NAME: no
1568///          OUTPUT-LABEL: yes
1569///   INPUT-OUTPUT-VALUES: yes
1570///                OUTPUT: multiple
1571///           ANNOTATIONS: no
1572/// ```
1573pub const EX_0047: &str = r#"
1574  ┌─────────────────────────────────┬─────────────────────╥───────────────┬──────────┬───────────────┐
1575  │ Applicant age                   │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
1576  ├─────────────────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1577  │ Medical history                 │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1578  ╞═════════╤═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1579  │ Sell    │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1580  │         ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1581  │ options │ Special Discount      │     0, 5, 10        ║  10  │    5   │     5    │    5   │  0   │
1582  ├─────────┴───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1583  │ U                               │                     ║  1   │    2   │     3    │   4    │   5  │
1584  └─────────────────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1585% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1586% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1587% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1588% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1589% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1590% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1591% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1592% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1593% { Applicant age: 61, Medical history: "well" }, null
1594"#;
1595
1596/// **Vertical** decision table,
1597///
1598/// ```text
1599///           ORIENTATION: **vertical**
1600/// INFORMATION ITEM NAME: no
1601///          OUTPUT-LABEL: yes
1602///   INPUT-OUTPUT-VALUES: yes
1603///                OUTPUT: multiple
1604///           ANNOTATIONS: yes
1605/// ```
1606pub const EX_0048: &str = r#"
1607  ┌─────────────────────────────────┬─────────────────────╥───────────────┬──────────┬───────────────┐
1608  │ Applicant age                   │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
1609  ├─────────────────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1610  │ Medical history                 │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1611  ╞═════════╤═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1612  │ Sell    │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1613  │         ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1614  │ options │ Special Discount      │     0, 5, 10        ║  10  │    5   │     5    │    5   │  0   │
1615  ╞═════════╧═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1616  │ Additional acceptance           │                     ║ No   │   No   │    No    │   No   │ Yes  │
1617  ├─────────────────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1618  │ Reference                       │                     ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
1619  ├─────────────────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1620  │ U                               │                     ║  1   │    2   │     3    │   4    │   5  │
1621  └─────────────────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1622% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1623% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1624% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1625% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1626% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1627% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1628% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1629% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1630% { Applicant age: 61, Medical history: "well" }, null
1631"#;
1632
1633/// **Vertical** decision table,
1634///
1635/// ```text
1636///           ORIENTATION: **vertical**
1637/// INFORMATION ITEM NAME: yes
1638///          OUTPUT-LABEL: no
1639///   INPUT-OUTPUT-VALUES: no
1640///                OUTPUT: single
1641///           ANNOTATIONS: no
1642/// ```
1643pub const EX_0049: &str = r#"
1644  ┌──────────────────────────────┐
1645  │ Applicant risk rating        │
1646  ├───────────────────────╥──────┴────────┬──────────┬───────────────┐
1647  │ Applicant age         ║     <25       │ [25..60] │      >60      │
1648  ├───────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1649  │ Medical history       ║"good"│ "bad"  │     -    │ "good" │"bad" │
1650  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1651  │                       ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1652  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1653  │           U           ║  1   │    2   │     3    │   4    │   5  │
1654  └───────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1655% { Applicant age: 20, Medical history: "good" }, "Low"
1656% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1657% { Applicant age: 25, Medical history: "good" }, "Medium"
1658% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1659% { Applicant age: 60, Medical history: "good" }, "Medium"
1660% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1661% { Applicant age: 61, Medical history: "good" }, "Medium"
1662% { Applicant age: 61, Medical history: "bad"  }, "High"
1663% { Applicant age: 61, Medical history: "well" }, null
1664"#;
1665
1666/// **Vertical** decision table,
1667///
1668/// ```text
1669///           ORIENTATION: **vertical**
1670/// INFORMATION ITEM NAME: yes
1671///          OUTPUT-LABEL: no
1672///   INPUT-OUTPUT-VALUES: no
1673///                OUTPUT: single
1674///           ANNOTATIONS: yes
1675/// ```
1676pub const EX_0050: &str = r#"
1677  ┌──────────────────────────────┐
1678  │ Applicant risk rating        │
1679  ├───────────────────────╥──────┴────────┬──────────┬───────────────┐
1680  │ Applicant age         ║     <25       │ [25..60] │      >60      │
1681  ├───────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1682  │ Medical history       ║"good"│ "bad"  │     -    │ "good" │"bad" │
1683  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1684  │                       ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1685  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1686  │ Additional acceptance ║ No   │   No   │    No    │   No   │ Yes  │
1687  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1688  │ Reference             ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
1689  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1690  │           U           ║  1   │    2   │     3    │   4    │   5  │
1691  └───────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1692% { Applicant age: 20, Medical history: "good" }, "Low"
1693% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1694% { Applicant age: 25, Medical history: "good" }, "Medium"
1695% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1696% { Applicant age: 60, Medical history: "good" }, "Medium"
1697% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1698% { Applicant age: 61, Medical history: "good" }, "Medium"
1699% { Applicant age: 61, Medical history: "bad"  }, "High"
1700% { Applicant age: 61, Medical history: "well" }, null
1701"#;
1702
1703/// **Vertical** decision table,
1704///
1705/// ```text
1706///           ORIENTATION: **vertical**
1707/// INFORMATION ITEM NAME: yes
1708///          OUTPUT-LABEL: no
1709///   INPUT-OUTPUT-VALUES: no
1710///                OUTPUT: multiple
1711///           ANNOTATIONS: no
1712/// ```
1713pub const EX_0051: &str = r#"
1714  ┌──────────────────────────────┐
1715  │ Sell options                 │
1716  ├───────────────────────╥──────┴────────┬──────────┬───────────────┐
1717  │ Applicant age         ║     <25       │ [25..60] │      >60      │
1718  ├───────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1719  │ Medical history       ║"good"│ "bad"  │     -    │ "good" │"bad" │
1720  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1721  │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1722  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1723  │ Special Discount      ║  10  │    5   │     5    │    5   │  0   │
1724  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1725  │           U           ║  1   │    2   │     3    │   4    │   5  │
1726  └───────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1727% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1728% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1729% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1730% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1731% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1732% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1733% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1734% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1735% { Applicant age: 61, Medical history: "well" }, null
1736"#;
1737
1738/// **Vertical** decision table,
1739///
1740/// ```text
1741///           ORIENTATION: **vertical**
1742/// INFORMATION ITEM NAME: yes
1743///          OUTPUT-LABEL: no
1744///   INPUT-OUTPUT-VALUES: no
1745///                OUTPUT: multiple
1746///           ANNOTATIONS: yes
1747/// ```
1748pub const EX_0052: &str = r#"
1749  ┌──────────────────────────────────────────────────┐
1750  │ Sell options                                     │
1751  ├───────────────────────╥───────────────┬──────────┼───────────────┐
1752  │ Applicant age         ║     <25       │ [25..60] │      >60      │
1753  ├───────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1754  │ Medical history       ║"good"│ "bad"  │     -    │ "good" │"bad" │
1755  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1756  │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1757  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1758  │ Special Discount      ║  10  │    5   │     5    │    5   │  0   │
1759  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1760  │ Additional acceptance ║  No  │   No   │    No    │   No   │ Yes  │
1761  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1762  │ Reference             ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
1763  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1764  │           U           ║  1   │    2   │     3    │   4    │   5  │
1765  └───────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1766% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1767% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1768% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1769% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1770% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1771% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1772% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1773% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1774% { Applicant age: 61, Medical history: "well" }, null
1775"#;
1776
1777/// **Vertical** decision table,
1778///
1779/// ```text
1780///           ORIENTATION: **vertical**
1781/// INFORMATION ITEM NAME: yes
1782///          OUTPUT-LABEL: no
1783///   INPUT-OUTPUT-VALUES: yes
1784///                OUTPUT: single
1785///           ANNOTATIONS: no
1786/// ```
1787pub const EX_0053: &str = r#"
1788  ┌────────────────────────────────────────────────────────────────────────┐
1789  │ Applicant risk rating                                                  │
1790  ├───────────────────────┬─────────────────────╥───────────────┬──────────┼───────────────┐
1791  │ Applicant age         │ <25, [25..60], >60  ║     <25       │ [25..60] │      >60      │
1792  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1793  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1794  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1795  │                       │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1796  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1797  │           U           │                     ║  1   │    2   │     3    │   4    │   5  │
1798  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1799% { Applicant age: 20, Medical history: "good" }, "Low"
1800% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1801% { Applicant age: 25, Medical history: "good" }, "Medium"
1802% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1803% { Applicant age: 60, Medical history: "good" }, "Medium"
1804% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1805% { Applicant age: 61, Medical history: "good" }, "Medium"
1806% { Applicant age: 61, Medical history: "bad"  }, "High"
1807% { Applicant age: 61, Medical history: "well" }, null
1808"#;
1809
1810/// **Vertical** decision table,
1811///
1812/// ```text
1813///           ORIENTATION: **vertical**
1814/// INFORMATION ITEM NAME: yes
1815///          OUTPUT-LABEL: no
1816///   INPUT-OUTPUT-VALUES: yes
1817///                OUTPUT: single
1818///           ANNOTATIONS: yes
1819/// ```
1820pub const EX_0054: &str = r#"
1821  ┌──────────────────────────────────────────────────────────────────────────────────────┐
1822  │ Applicant risk rating                                                                │
1823  ├───────────────────────┬─────────────────────╥───────────────┬──────────┬─────────────┴─┐
1824  │ Applicant age         │ <25, [25..60], >60  ║     <25       │ [25..60] │      >60      │
1825  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1826  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1827  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1828  │                       │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1829  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1830  │ Additional acceptance │                     ║ No   │   No   │    No    │   No   │ Yes  │
1831  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1832  │ Reference             │                     ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
1833  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1834  │           U           │                     ║  1   │    2   │     3    │   4    │   5  │
1835  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1836% { Applicant age: 20, Medical history: "good" }, "Low"
1837% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1838% { Applicant age: 25, Medical history: "good" }, "Medium"
1839% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1840% { Applicant age: 60, Medical history: "good" }, "Medium"
1841% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1842% { Applicant age: 61, Medical history: "good" }, "Medium"
1843% { Applicant age: 61, Medical history: "bad"  }, "High"
1844% { Applicant age: 61, Medical history: "well" }, null
1845"#;
1846
1847/// **Vertical** decision table,
1848///
1849/// ```text
1850///           ORIENTATION: **vertical**
1851/// INFORMATION ITEM NAME: yes
1852///          OUTPUT-LABEL: no
1853///   INPUT-OUTPUT-VALUES: yes
1854///                OUTPUT: multiple
1855///           ANNOTATIONS: no
1856/// ```
1857pub const EX_0055: &str = r#"
1858  ┌────────────────────────────────────────────────────────────────────────┐
1859  │ Sell options                                                           │
1860  ├───────────────────────┬─────────────────────╥───────────────┬──────────┼───────────────┐
1861  │ Applicant age         │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
1862  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1863  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1864  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1865  │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1866  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1867  │ Special Discount      │     0, 5, 10        ║  10  │    5   │     5    │    5   │  0   │
1868  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1869  │           U           │                     ║   1  │    2   │     3    │    4   │  5   │
1870  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1871% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1872% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1873% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1874% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1875% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1876% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1877% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1878% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1879% { Applicant age: 61, Medical history: "well" }, null
1880"#;
1881
1882/// **Vertical** decision table,
1883///
1884/// ```text
1885///           ORIENTATION: **vertical**
1886/// INFORMATION ITEM NAME: yes
1887///          OUTPUT-LABEL: no
1888///   INPUT-OUTPUT-VALUES: yes
1889///                OUTPUT: multiple
1890///           ANNOTATIONS: yes
1891/// ```
1892pub const EX_0056: &str = r#"
1893  ┌────────────────────────────────────────────────────────────────────────┐
1894  │ Sell options                                                           │
1895  ├───────────────────────┬─────────────────────╥───────────────┬──────────┼───────────────┐
1896  │ Applicant age         │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
1897  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1898  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
1899  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1900  │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1901  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1902  │ Special Discount      │     0, 5, 10        ║  10  │    5   │     5    │    5   │  0   │
1903  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1904  │ Additional acceptance │                     ║ No   │   No   │    No    │   No   │ Yes  │
1905  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1906  │ Reference             │                     ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
1907  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1908  │           U           │                     ║  1   │    2   │     3    │   4    │   5  │
1909  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1910% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
1911% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1912% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1913% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1914% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1915% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
1916% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
1917% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
1918% { Applicant age: 61, Medical history: "well" }, null
1919"#;
1920
1921/// **Vertical** decision table,
1922///
1923/// ```text
1924///           ORIENTATION: **vertical**
1925/// INFORMATION ITEM NAME: yes
1926///          OUTPUT-LABEL: yes
1927///   INPUT-OUTPUT-VALUES: no
1928///                OUTPUT: single
1929///           ANNOTATIONS: no
1930/// ```
1931pub const EX_0057: &str = r#"
1932  ┌──────────────────────────────────┐
1933  │ Applicant risk rating            │
1934  ├───────────────────────╥──────────┴────┬──────────┬───────────────┐
1935  │ Applicant age         ║     <25       │ [25..60] │      >60      │
1936  ├───────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1937  │ Medical history       ║"good"│ "bad"  │     -    │ "good" │"bad" │
1938  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1939  │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1940  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1941  │           U           ║  1   │    2   │     3    │   4    │   5  │
1942  └───────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1943% { Applicant age: 20, Medical history: "good" }, "Low"
1944% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1945% { Applicant age: 25, Medical history: "good" }, "Medium"
1946% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1947% { Applicant age: 60, Medical history: "good" }, "Medium"
1948% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1949% { Applicant age: 61, Medical history: "good" }, "Medium"
1950% { Applicant age: 61, Medical history: "bad"  }, "High"
1951% { Applicant age: 61, Medical history: "well" }, null
1952"#;
1953
1954/// **Vertical** decision table,
1955///
1956/// ```text
1957///           ORIENTATION: **vertical**
1958/// INFORMATION ITEM NAME: yes
1959///          OUTPUT-LABEL: yes
1960///   INPUT-OUTPUT-VALUES: no
1961///                OUTPUT: single
1962///           ANNOTATIONS: yes
1963/// ```
1964pub const EX_0058: &str = r#"
1965  ┌──────────────────────────────────┐
1966  │ Applicant risk rating            │
1967  ├───────────────────────╥──────────┴────┬──────────┬───────────────┐
1968  │ Applicant age         ║     <25       │ [25..60] │      >60      │
1969  ├───────────────────────╫──────┬────────┼──────────┼────────┬──────┤
1970  │ Medical history       ║"good"│ "bad"  │     -    │ "good" │"bad" │
1971  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1972  │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
1973  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
1974  │ Additional acceptance ║ No   │   No   │    No    │   No   │ Yes  │
1975  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1976  │ Reference             ║ Ref0 │  Ref1  │   Ref2   │  Ref3  │ Ref4 │
1977  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
1978  │           U           ║  1   │    2   │     3    │   4    │   5  │
1979  └───────────────────────╨──────┴────────┴──────────┴────────┴──────┘
1980% { Applicant age: 20, Medical history: "good" }, "Low"
1981% { Applicant age: 24, Medical history: "bad"  }, "Medium"
1982% { Applicant age: 25, Medical history: "good" }, "Medium"
1983% { Applicant age: 25, Medical history: "bad"  }, "Medium"
1984% { Applicant age: 60, Medical history: "good" }, "Medium"
1985% { Applicant age: 60, Medical history: "bad"  }, "Medium"
1986% { Applicant age: 61, Medical history: "good" }, "Medium"
1987% { Applicant age: 61, Medical history: "bad"  }, "High"
1988% { Applicant age: 61, Medical history: "well" }, null
1989"#;
1990
1991/// **Vertical** decision table,
1992///
1993/// ```text
1994///           ORIENTATION: **vertical**
1995/// INFORMATION ITEM NAME: yes
1996///          OUTPUT-LABEL: yes
1997///   INPUT-OUTPUT-VALUES: no
1998///                OUTPUT: multiple
1999///           ANNOTATIONS: no
2000/// ```
2001pub const EX_0059: &str = r#"
2002  ┌────────────────────────────────────────────────────────────┐
2003  │ Sell options                                               │
2004  ├─────────────────────────────────╥───────────────┬──────────┼───────────────┐
2005  │ Applicant age                   ║     <25       │ [25..60] │      >60      │
2006  ├─────────────────────────────────╫──────┬────────┼──────────┼────────┬──────┤
2007  │ Medical history                 ║"good"│ "bad"  │     -    │ "good" │"bad" │
2008  ╞═════════╤═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
2009  │ Sell    │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
2010  │         ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2011  │ options │ Special Discount      ║  10  │    5   │     5    │    5   │  0   │
2012  ├─────────┴───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2013  │ U                               ║  1   │    2   │     3    │   4    │   5  │
2014  └─────────────────────────────────╨──────┴────────┴──────────┴────────┴──────┘
2015% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
2016% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2017% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2018% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2019% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2020% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2021% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2022% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
2023% { Applicant age: 61, Medical history: "well" }, null
2024"#;
2025
2026/// **Vertical** decision table,
2027///
2028/// ```text
2029///           ORIENTATION: **vertical**
2030/// INFORMATION ITEM NAME: yes
2031///          OUTPUT-LABEL: yes
2032///   INPUT-OUTPUT-VALUES: no
2033///                OUTPUT: multiple
2034///           ANNOTATIONS: yes
2035/// ```
2036pub const EX_0060: &str = r#"
2037  ┌────────────────────────────────────────────────────────────┐
2038  │ Sell options                                               │
2039  ├─────────────────────────────────╥───────────────┬──────────┼───────────────┐
2040  │ Applicant age                   ║     <25       │ [25..60] │      >60      │
2041  ├─────────────────────────────────╫──────┬────────┼──────────┼────────┬──────┤
2042  │ Medical history                 ║"good"│ "bad"  │     -    │ "good" │"bad" │
2043  ╞═════════╤═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
2044  │ Sell    │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
2045  │         ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2046  │ options │ Special Discount      ║  10  │    5   │     5    │    5   │  0   │
2047  ╞═════════╧═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
2048  │ Additional acceptance           ║ No   │   No   │    No    │   No   │ Yes  │
2049  ├─────────────────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2050  │ Reference                       ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
2051  ├─────────────────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2052  │ U                               ║  1   │    2   │     3    │   4    │   5  │
2053  └─────────────────────────────────╨──────┴────────┴──────────┴────────┴──────┘
2054% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
2055% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2056% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2057% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2058% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2059% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2060% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2061% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
2062% { Applicant age: 61, Medical history: "well" }, null
2063"#;
2064
2065/// **Vertical** decision table,
2066///
2067/// ```text
2068///           ORIENTATION: **vertical**
2069/// INFORMATION ITEM NAME: yes
2070///          OUTPUT-LABEL: yes
2071///   INPUT-OUTPUT-VALUES: yes
2072///                OUTPUT: single
2073///           ANNOTATIONS: no
2074/// ```
2075pub const EX_0061: &str = r#"
2076  ┌──────────────────────────────┐
2077  │ Applicant risk rating        │
2078  ├───────────────────────┬──────┴──────────────╥───────────────┬──────────┬───────────────┐
2079  │ Applicant age         │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
2080  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
2081  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
2082  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
2083  │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
2084  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2085  │           U           │                     ║  1   │    2   │     3    │   4    │   5  │
2086  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
2087% { Applicant age: 20, Medical history: "good" }, "Low"
2088% { Applicant age: 24, Medical history: "bad"  }, "Medium"
2089% { Applicant age: 25, Medical history: "good" }, "Medium"
2090% { Applicant age: 25, Medical history: "bad"  }, "Medium"
2091% { Applicant age: 60, Medical history: "good" }, "Medium"
2092% { Applicant age: 60, Medical history: "bad"  }, "Medium"
2093% { Applicant age: 61, Medical history: "good" }, "Medium"
2094% { Applicant age: 61, Medical history: "bad"  }, "High"
2095% { Applicant age: 61, Medical history: "well" }, null
2096"#;
2097
2098/// **Vertical** decision table,
2099///
2100/// ```text
2101///           ORIENTATION: **vertical**
2102/// INFORMATION ITEM NAME: yes
2103///          OUTPUT-LABEL: yes
2104///   INPUT-OUTPUT-VALUES: yes
2105///                OUTPUT: single
2106///           ANNOTATIONS: yes
2107/// ```
2108pub const EX_0062: &str = r#"
2109  ┌────────────────────────────────────────────────────────────────────────────────────────┐
2110  │ Applicant risk rating                                                                  │
2111  ├───────────────────────┬─────────────────────╥───────────────┬──────────┬───────────────┤
2112  │ Applicant age         │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
2113  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
2114  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
2115  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
2116  │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
2117  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
2118  │ Additional acceptance │                     ║ No   │   No   │    No    │   No   │ Yes  │
2119  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2120  │ Reference             │                     ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
2121  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2122  │           U           │                     ║  1   │    2   │     3    │   4    │   5  │
2123  └───────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
2124% { Applicant age: 20, Medical history: "good" }, "Low"
2125% { Applicant age: 24, Medical history: "bad"  }, "Medium"
2126% { Applicant age: 25, Medical history: "good" }, "Medium"
2127% { Applicant age: 25, Medical history: "bad"  }, "Medium"
2128% { Applicant age: 60, Medical history: "good" }, "Medium"
2129% { Applicant age: 60, Medical history: "bad"  }, "Medium"
2130% { Applicant age: 61, Medical history: "good" }, "Medium"
2131% { Applicant age: 61, Medical history: "bad"  }, "High"
2132% { Applicant age: 61, Medical history: "well" }, null
2133"#;
2134
2135/// **Vertical** decision table,
2136///
2137/// ```text
2138///           ORIENTATION: **vertical**
2139/// INFORMATION ITEM NAME: yes
2140///          OUTPUT-LABEL: yes
2141///   INPUT-OUTPUT-VALUES: yes
2142///                OUTPUT: multiple
2143///           ANNOTATIONS: no
2144/// ```
2145pub const EX_0063: &str = r#"
2146┌──────────────────────────────────────────────────────────────────────────────────┐
2147│ Sell options                                                                     │
2148├─────────────────────────────────┬─────────────────────╥───────────────┬──────────┼───────────────┐
2149│ Applicant age                   │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
2150├─────────────────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
2151│ Medical history                 │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
2152╞═════════╤═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
2153│ Sell    │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
2154│         ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2155│ options │ Special Discount      │     0, 5, 10        ║  10  │    5   │     5    │    5   │  0   │
2156├─────────┴───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2157│ U                               │                     ║  1   │    2   │     3    │   4    │   5  │
2158└─────────────────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
2159% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
2160% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2161% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2162% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2163% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2164% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2165% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2166% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
2167% { Applicant age: 61, Medical history: "well" }, null
2168"#;
2169
2170/// **Vertical** decision table,
2171///
2172/// ```text
2173///           ORIENTATION: **vertical**
2174/// INFORMATION ITEM NAME: yes
2175///          OUTPUT-LABEL: yes
2176///   INPUT-OUTPUT-VALUES: yes
2177///                OUTPUT: multiple
2178///           ANNOTATIONS: yes
2179/// ```
2180pub const EX_0064: &str = r#"
2181  ┌──────────────────────────────────────────────────────────────────────────────────┐
2182  │ Sell options                                                                     │
2183  ├─────────────────────────────────┬─────────────────────╥───────────────┬──────────┼───────────────┐
2184  │ Applicant age                   │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
2185  ├─────────────────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
2186  │ Medical history                 │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
2187  ╞═════════╤═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
2188  │ Sell    │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
2189  │         ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2190  │ options │ Special Discount      │     0, 5, 10        ║  10  │    5   │     5    │    5   │  0   │
2191  ╞═════════╧═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
2192  │ Additional acceptance           │                     ║ No   │   No   │    No    │   No   │ Yes  │
2193  ├─────────────────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2194  │ Reference                       │                     ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
2195  ├─────────────────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
2196  │ U                               │                     ║  1   │    2   │     3    │   4    │   5  │
2197  └─────────────────────────────────┴─────────────────────╨──────┴────────┴──────────┴────────┴──────┘
2198% { Applicant age: 20, Medical history: "good" }, {Applicant risk rating: "Low",    Special Discount: 10}
2199% { Applicant age: 24, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2200% { Applicant age: 25, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2201% { Applicant age: 25, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2202% { Applicant age: 60, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2203% { Applicant age: 60, Medical history: "bad"  }, {Applicant risk rating: "Medium", Special Discount: 5}
2204% { Applicant age: 61, Medical history: "good" }, {Applicant risk rating: "Medium", Special Discount: 5}
2205% { Applicant age: 61, Medical history: "bad"  }, {Applicant risk rating: "High",   Special Discount: 0}
2206% { Applicant age: 61, Medical history: "well" }, null
2207"#;
2208
2209/// **Crosstab** decision table,
2210///
2211/// ```text
2212///           ORIENTATION: **crosstab**
2213/// INFORMATION ITEM NAME: no
2214///          OUTPUT-LABEL: no
2215///   INPUT-OUTPUT-VALUES: no
2216///                OUTPUT: single
2217///           ANNOTATIONS: no
2218/// ```
2219pub const EX_0065: &str = r#"
2220  ┌───────────────────╥─────────────────────────────────┐
2221  │                   ║            Customer             │
2222  │                   ╟──────────┬─────────┬────────────┤
2223  │                   ║"Business"│"Private"│"Government"│
2224  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2225  │            │  <10 ║   0.05   │    0    │    0.15    │
2226  │ Order size ├──────╫──────────┼─────────┼────────────┤
2227  │            │ >=10 ║   0.10   │    0    │    0.15    │
2228  └────────────┴──────╨──────────┴─────────┴────────────┘
2229"#;
2230
2231/// **Crosstab** decision table,
2232///
2233/// ```text
2234///           ORIENTATION: **crosstab**
2235/// INFORMATION ITEM NAME: no
2236///          OUTPUT-LABEL: no
2237///   INPUT-OUTPUT-VALUES: no
2238///                OUTPUT: single
2239///           ANNOTATIONS: yes
2240/// ```
2241/// Postponed until annotations for crosstab are in specification.
2242pub const EX_0066: &str = r#""#;
2243
2244/// **Crosstab** decision table,
2245///
2246/// ```text
2247///           ORIENTATION: **crosstab**
2248/// INFORMATION ITEM NAME: no
2249///          OUTPUT-LABEL: no
2250///   INPUT-OUTPUT-VALUES: no
2251///                OUTPUT: multiple
2252///           ANNOTATIONS: no
2253/// ```
2254pub const EX_0067: &str = r#"
2255  ┌────────────────────╥─────────────────────────────────┐
2256  │                    ║            Customer             │
2257  ├────────────────────╫──────────┬─────────┬────────────┤
2258  │   Discount,        ║          │         │            │
2259  │   Priority         ║"Business"│"Private"│"Government"│
2260  ╞═════════════╤══════╬══════════╪═════════╪════════════╡
2261  │             │  <10 ║   0.05,  │    0,   │    0.15,   │
2262  │             │      ║ "Normal" │  "Low"  │   "High"   │
2263  │ Order size  ├──────╫──────────┼─────────┼────────────┤
2264  │             │ >=10 ║   0.10,  │    0,   │    0.15,   │
2265  │             │      ║  "High"  │ "Normal"│   "High"   │
2266  └─────────────┴──────╨──────────┴─────────┴────────────┘
2267"#;
2268
2269/// **Crosstab** decision table,
2270///
2271/// ```text
2272///           ORIENTATION: **crosstab**
2273/// INFORMATION ITEM NAME: no
2274///          OUTPUT-LABEL: no
2275///   INPUT-OUTPUT-VALUES: no
2276///                OUTPUT: multiple
2277///           ANNOTATIONS: yes
2278/// ```
2279/// Postponed until annotations for crosstab are in specification.
2280pub const EX_0068: &str = r#""#;
2281
2282/// **Crosstab** decision table,
2283///
2284/// ```text
2285///           ORIENTATION: **crosstab**
2286/// INFORMATION ITEM NAME: no
2287///          OUTPUT-LABEL: no
2288///   INPUT-OUTPUT-VALUES: yes
2289///                OUTPUT: single
2290///           ANNOTATIONS: no
2291/// ```
2292pub const EX_0069: &str = r#"
2293  ┌──────────────────────────╥─────────────────────────────────┐
2294  │                          ║            Customer             │
2295  │                          ╟─────────────────────────────────┤
2296  │                          ║"Business","Private","Government"│
2297  ├──────────────────────────╫──────────┬─────────┬────────────┤
2298  │      0.05, 0, 0.15       ║"Business"│"Private"│"Government"│
2299  ╞════════════╤══════╤══════╬══════════╪═════════╪════════════╡
2300  │            │ <10, │  <10 ║   0.05   │    0    │    0.15    │
2301  │ Order size │      ├──────╫──────────┼─────────┼────────────┤
2302  │            │ >=10 │ >=10 ║   0.10   │    0    │    0.15    │
2303  └────────────┴──────┴──────╨──────────┴─────────┴────────────┘
2304"#;
2305
2306/// **Crosstab** decision table,
2307///
2308/// ```text
2309///           ORIENTATION: **crosstab**
2310/// INFORMATION ITEM NAME: no
2311///          OUTPUT-LABEL: no
2312///   INPUT-OUTPUT-VALUES: yes
2313///                OUTPUT: single
2314///           ANNOTATIONS: yes
2315/// ```
2316/// Postponed until annotations for crosstab are in specification.
2317pub const EX_0070: &str = r#""#;
2318
2319/// **Crosstab** decision table,
2320///
2321/// ```text
2322///           ORIENTATION: **crosstab**
2323/// INFORMATION ITEM NAME: no
2324///          OUTPUT-LABEL: no
2325///   INPUT-OUTPUT-VALUES: yes
2326///                OUTPUT: multiple
2327///           ANNOTATIONS: no
2328/// ```
2329pub const EX_0071: &str = r#"
2330  ┌───────────────────╥─────────────────────────────────┐
2331  │                   ║            Customer             │
2332  │                   ╟──────────┬─────────┬────────────┤
2333  │                   ║"Business"│"Private"│"Government"│
2334  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2335  │            │  <10 ║   0.05   │    0    │    0.15    │
2336  │ Order size ├──────╫──────────┼─────────┼────────────┤
2337  │            │ >=10 ║   0.10   │    0    │    0.15    │
2338  └────────────┴──────╨──────────┴─────────┴────────────┘
2339"#;
2340
2341/// **Crosstab** decision table,
2342///
2343/// ```text
2344///           ORIENTATION: **crosstab**
2345/// INFORMATION ITEM NAME: no
2346///          OUTPUT-LABEL: no
2347///   INPUT-OUTPUT-VALUES: yes
2348///                OUTPUT: multiple
2349///           ANNOTATIONS: yes
2350/// ```
2351/// Postponed until annotations for crosstab are in specification.
2352pub const EX_0072: &str = r#""#;
2353
2354/// **Crosstab** decision table,
2355///
2356/// ```text
2357///           ORIENTATION: **crosstab**
2358/// INFORMATION ITEM NAME: no
2359///          OUTPUT-LABEL: yes
2360///   INPUT-OUTPUT-VALUES: no
2361///                OUTPUT: single
2362///           ANNOTATIONS: no
2363/// ```
2364pub const EX_0073: &str = r#"
2365  ┌───────────────────╥─────────────────────────────────┐
2366  │                   ║            Customer             │
2367  │                   ╟──────────┬─────────┬────────────┤
2368  │                   ║"Business"│"Private"│"Government"│
2369  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2370  │            │  <10 ║   0.05   │    0    │    0.15    │
2371  │ Order size ├──────╫──────────┼─────────┼────────────┤
2372  │            │ >=10 ║   0.10   │    0    │    0.15    │
2373  └────────────┴──────╨──────────┴─────────┴────────────┘
2374"#;
2375
2376/// **Crosstab** decision table,
2377///
2378/// ```text
2379///           ORIENTATION: **crosstab**
2380/// INFORMATION ITEM NAME: no
2381///          OUTPUT-LABEL: yes
2382///   INPUT-OUTPUT-VALUES: no
2383///                OUTPUT: single
2384///           ANNOTATIONS: yes
2385/// ```
2386/// Postponed until annotations for crosstab are in specification.
2387pub const EX_0074: &str = r#""#;
2388
2389/// **Crosstab** decision table,
2390///
2391/// ```text
2392///           ORIENTATION: **crosstab**
2393/// INFORMATION ITEM NAME: no
2394///          OUTPUT-LABEL: yes
2395///   INPUT-OUTPUT-VALUES: no
2396///                OUTPUT: multiple
2397///           ANNOTATIONS: no
2398/// ```
2399pub const EX_0075: &str = r#"
2400  ┌───────────────────╥─────────────────────────────────┐
2401  │                   ║            Customer             │
2402  │                   ╟──────────┬─────────┬────────────┤
2403  │                   ║"Business"│"Private"│"Government"│
2404  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2405  │            │  <10 ║   0.05   │    0    │    0.15    │
2406  │ Order size ├──────╫──────────┼─────────┼────────────┤
2407  │            │ >=10 ║   0.10   │    0    │    0.15    │
2408  └────────────┴──────╨──────────┴─────────┴────────────┘
2409"#;
2410
2411/// **Crosstab** decision table,
2412///
2413/// ```text
2414///           ORIENTATION: **crosstab**
2415/// INFORMATION ITEM NAME: no
2416///          OUTPUT-LABEL: yes
2417///   INPUT-OUTPUT-VALUES: no
2418///                OUTPUT: multiple
2419///           ANNOTATIONS: yes
2420///
2421/// Postponed until annotations for crosstab are in specification.
2422// /// ```
2423pub const EX_0076: &str = r#"
2424// "#;
2425
2426/// **Crosstab** decision table,
2427///
2428/// ```text
2429///           ORIENTATION: **crosstab**
2430/// INFORMATION ITEM NAME: no
2431///          OUTPUT-LABEL: yes
2432///   INPUT-OUTPUT-VALUES: yes
2433///                OUTPUT: single
2434///           ANNOTATIONS: no
2435/// ```
2436pub const EX_0077: &str = r#"
2437  ┌───────────────────╥─────────────────────────────────┐
2438  │                   ║            Customer             │
2439  │                   ╟──────────┬─────────┬────────────┤
2440  │                   ║"Business"│"Private"│"Government"│
2441  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2442  │            │  <10 ║   0.05   │    0    │    0.15    │
2443  │ Order size ├──────╫──────────┼─────────┼────────────┤
2444  │            │ >=10 ║   0.10   │    0    │    0.15    │
2445  └────────────┴──────╨──────────┴─────────┴────────────┘
2446"#;
2447
2448/// **Crosstab** decision table,
2449///
2450/// ```text
2451///           ORIENTATION: **crosstab**
2452/// INFORMATION ITEM NAME: no
2453///          OUTPUT-LABEL: yes
2454///   INPUT-OUTPUT-VALUES: yes
2455///                OUTPUT: single
2456///           ANNOTATIONS: yes
2457/// ```
2458/// Postponed until annotations for crosstab are in specification.
2459pub const EX_0078: &str = r#""#;
2460
2461/// **Crosstab** decision table,
2462///
2463/// ```text
2464///           ORIENTATION: **crosstab**
2465/// INFORMATION ITEM NAME: no
2466///          OUTPUT-LABEL: yes
2467///   INPUT-OUTPUT-VALUES: yes
2468///                OUTPUT: multiple
2469///           ANNOTATIONS: no
2470/// ```
2471pub const EX_0079: &str = r#"
2472  ┌───────────────────╥─────────────────────────────────┐
2473  │                   ║            Customer             │
2474  │                   ╟──────────┬─────────┬────────────┤
2475  │                   ║"Business"│"Private"│"Government"│
2476  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2477  │            │  <10 ║   0.05   │    0    │    0.15    │
2478  │ Order size ├──────╫──────────┼─────────┼────────────┤
2479  │            │ >=10 ║   0.10   │    0    │    0.15    │
2480  └────────────┴──────╨──────────┴─────────┴────────────┘
2481"#;
2482
2483/// **Crosstab** decision table,
2484///
2485/// ```text
2486///           ORIENTATION: **crosstab**
2487/// INFORMATION ITEM NAME: no
2488///          OUTPUT-LABEL: yes
2489///   INPUT-OUTPUT-VALUES: yes
2490///                OUTPUT: multiple
2491///           ANNOTATIONS: yes
2492/// ```
2493/// Postponed until annotations for crosstab are in specification.
2494pub const EX_0080: &str = r#""#;
2495
2496/// **Crosstab** decision table,
2497///
2498/// ```text
2499///           ORIENTATION: **crosstab**
2500/// INFORMATION ITEM NAME: yes
2501///          OUTPUT-LABEL: no
2502///   INPUT-OUTPUT-VALUES: no
2503///                OUTPUT: single
2504///           ANNOTATIONS: no
2505/// ```
2506pub const EX_0081: &str = r#"
2507  ┌───────────────────╥─────────────────────────────────┐
2508  │                   ║            Customer             │
2509  │                   ╟──────────┬─────────┬────────────┤
2510  │                   ║"Business"│"Private"│"Government"│
2511  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2512  │            │  <10 ║   0.05   │    0    │    0.15    │
2513  │ Order size ├──────╫──────────┼─────────┼────────────┤
2514  │            │ >=10 ║   0.10   │    0    │    0.15    │
2515  └────────────┴──────╨──────────┴─────────┴────────────┘
2516"#;
2517
2518/// **Crosstab** decision table,
2519///
2520/// ```text
2521///           ORIENTATION: **crosstab**
2522/// INFORMATION ITEM NAME: yes
2523///          OUTPUT-LABEL: no
2524///   INPUT-OUTPUT-VALUES: no
2525///                OUTPUT: single
2526///           ANNOTATIONS: yes
2527/// ```
2528/// Postponed until annotations for crosstab are in specification.
2529pub const EX_0082: &str = r#""#;
2530
2531/// **Crosstab** decision table,
2532///
2533/// ```text
2534///           ORIENTATION: **crosstab**
2535/// INFORMATION ITEM NAME: yes
2536///          OUTPUT-LABEL: no
2537///   INPUT-OUTPUT-VALUES: no
2538///                OUTPUT: multiple
2539///           ANNOTATIONS: no
2540/// ```
2541pub const EX_0083: &str = r#"
2542  ┌───────────────────╥─────────────────────────────────┐
2543  │                   ║            Customer             │
2544  │                   ╟──────────┬─────────┬────────────┤
2545  │                   ║"Business"│"Private"│"Government"│
2546  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2547  │            │  <10 ║   0.05   │    0    │    0.15    │
2548  │ Order size ├──────╫──────────┼─────────┼────────────┤
2549  │            │ >=10 ║   0.10   │    0    │    0.15    │
2550  └────────────┴──────╨──────────┴─────────┴────────────┘
2551"#;
2552
2553/// **Crosstab** decision table,
2554///
2555/// ```text
2556///           ORIENTATION: **crosstab**
2557/// INFORMATION ITEM NAME: yes
2558///          OUTPUT-LABEL: no
2559///   INPUT-OUTPUT-VALUES: no
2560///                OUTPUT: multiple
2561///           ANNOTATIONS: yes
2562/// ```
2563/// Postponed until annotations for crosstab are in specification.
2564pub const EX_0084: &str = r#""#;
2565
2566/// **Crosstab** decision table,
2567///
2568/// ```text
2569///           ORIENTATION: **crosstab**
2570/// INFORMATION ITEM NAME: yes
2571///          OUTPUT-LABEL: no
2572///   INPUT-OUTPUT-VALUES: yes
2573///                OUTPUT: single
2574///           ANNOTATIONS: no
2575/// ```
2576pub const EX_0085: &str = r#"
2577  ┌───────────────────╥─────────────────────────────────┐
2578  │                   ║            Customer             │
2579  │                   ╟──────────┬─────────┬────────────┤
2580  │                   ║"Business"│"Private"│"Government"│
2581  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2582  │            │  <10 ║   0.05   │    0    │    0.15    │
2583  │ Order size ├──────╫──────────┼─────────┼────────────┤
2584  │            │ >=10 ║   0.10   │    0    │    0.15    │
2585  └────────────┴──────╨──────────┴─────────┴────────────┘
2586"#;
2587
2588/// **Crosstab** decision table,
2589///
2590/// ```text
2591///           ORIENTATION: **crosstab**
2592/// INFORMATION ITEM NAME: yes
2593///          OUTPUT-LABEL: no
2594///   INPUT-OUTPUT-VALUES: yes
2595///                OUTPUT: single
2596///           ANNOTATIONS: yes
2597/// ```
2598/// Postponed until annotations for crosstab are in specification.
2599pub const EX_0086: &str = r#""#;
2600
2601/// **Crosstab** decision table,
2602///
2603/// ```text
2604///           ORIENTATION: **crosstab**
2605/// INFORMATION ITEM NAME: yes
2606///          OUTPUT-LABEL: no
2607///   INPUT-OUTPUT-VALUES: yes
2608///                OUTPUT: multiple
2609///           ANNOTATIONS: no
2610/// ```
2611pub const EX_0087: &str = r#"
2612  ┌───────────────────╥─────────────────────────────────┐
2613  │                   ║            Customer             │
2614  │                   ╟──────────┬─────────┬────────────┤
2615  │                   ║"Business"│"Private"│"Government"│
2616  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2617  │            │  <10 ║   0.05   │    0    │    0.15    │
2618  │ Order size ├──────╫──────────┼─────────┼────────────┤
2619  │            │ >=10 ║   0.10   │    0    │    0.15    │
2620  └────────────┴──────╨──────────┴─────────┴────────────┘
2621"#;
2622
2623/// **Crosstab** decision table,
2624///
2625/// ```text
2626///           ORIENTATION: **crosstab**
2627/// INFORMATION ITEM NAME: yes
2628///          OUTPUT-LABEL: no
2629///   INPUT-OUTPUT-VALUES: yes
2630///                OUTPUT: multiple
2631///           ANNOTATIONS: yes
2632/// ```
2633/// Postponed until annotations for crosstab are in specification.
2634pub const EX_0088: &str = r#""#;
2635
2636/// **Crosstab** decision table,
2637///
2638/// ```text
2639///           ORIENTATION: **crosstab**
2640/// INFORMATION ITEM NAME: yes
2641///          OUTPUT-LABEL: yes
2642///   INPUT-OUTPUT-VALUES: no
2643///                OUTPUT: single
2644///           ANNOTATIONS: no
2645/// ```
2646pub const EX_0089: &str = r#"
2647  ┌─────────────────────────────────────────────────────┐
2648  │ Discount                                            │
2649  ├───────────────────╥─────────────────────────────────┤
2650  │                   ║            Customer             │
2651  │     Discount      ╟──────────┬─────────┬────────────┤
2652  │                   ║"Business"│"Private"│"Government"│
2653  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2654  │            │  <10 ║   0.05   │    0    │    0.15    │
2655  │ Order size ├──────╫──────────┼─────────┼────────────┤
2656  │            │ >=10 ║   0.10   │    0    │    0.15    │
2657  └────────────┴──────╨──────────┴─────────┴────────────┘
2658"#;
2659
2660/// **Crosstab** decision table,
2661///
2662/// ```text
2663///           ORIENTATION: **crosstab**
2664/// INFORMATION ITEM NAME: yes
2665///          OUTPUT-LABEL: yes
2666///   INPUT-OUTPUT-VALUES: no
2667///                OUTPUT: single
2668///           ANNOTATIONS: yes
2669/// ```
2670/// Postponed until annotations for crosstab are in specification.
2671pub const EX_0090: &str = r#""#;
2672
2673/// **Crosstab** decision table,
2674///
2675/// ```text
2676///           ORIENTATION: **crosstab**
2677/// INFORMATION ITEM NAME: yes
2678///          OUTPUT-LABEL: yes
2679///   INPUT-OUTPUT-VALUES: no
2680///                OUTPUT: multiple
2681///           ANNOTATIONS: no
2682/// ```
2683pub const EX_0091: &str = r#"
2684  ┌───────────────────╥─────────────────────────────────┐
2685  │                   ║            Customer             │
2686  │                   ╟──────────┬─────────┬────────────┤
2687  │                   ║"Business"│"Private"│"Government"│
2688  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2689  │            │  <10 ║   0.05   │    0    │    0.15    │
2690  │ Order size ├──────╫──────────┼─────────┼────────────┤
2691  │            │ >=10 ║   0.10   │    0    │    0.15    │
2692  └────────────┴──────╨──────────┴─────────┴────────────┘
2693"#;
2694
2695/// **Crosstab** decision table,
2696///
2697/// ```text
2698///           ORIENTATION: **crosstab**
2699/// INFORMATION ITEM NAME: yes
2700///          OUTPUT-LABEL: yes
2701///   INPUT-OUTPUT-VALUES: no
2702///                OUTPUT: multiple
2703///           ANNOTATIONS: yes
2704/// ```
2705/// Postponed until annotations for crosstab are in specification.
2706pub const EX_0092: &str = r#" "#;
2707
2708/// **Crosstab** decision table,
2709///
2710/// ```text
2711///           ORIENTATION: **crosstab**
2712/// INFORMATION ITEM NAME: yes
2713///          OUTPUT-LABEL: yes
2714///   INPUT-OUTPUT-VALUES: yes
2715///                OUTPUT: single
2716///           ANNOTATIONS: no
2717/// ```
2718pub const EX_0093: &str = r#"
2719  ┌───────────────────╥─────────────────────────────────┐
2720  │                   ║            Customer             │
2721  │                   ╟──────────┬─────────┬────────────┤
2722  │                   ║"Business"│"Private"│"Government"│
2723  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2724  │            │  <10 ║   0.05   │    0    │    0.15    │
2725  │ Order size ├──────╫──────────┼─────────┼────────────┤
2726  │            │ >=10 ║   0.10   │    0    │    0.15    │
2727  └────────────┴──────╨──────────┴─────────┴────────────┘
2728"#;
2729
2730/// **Crosstab** decision table,
2731///
2732/// ```text
2733///           ORIENTATION: **crosstab**
2734/// INFORMATION ITEM NAME: yes
2735///          OUTPUT-LABEL: yes
2736///   INPUT-OUTPUT-VALUES: yes
2737///                OUTPUT: single
2738///           ANNOTATIONS: yes
2739/// ```
2740/// Postponed until annotations for crosstab are in specification.
2741pub const EX_0094: &str = r#""#;
2742
2743/// **Crosstab** decision table,
2744///
2745/// ```text
2746///           ORIENTATION: **crosstab**
2747/// INFORMATION ITEM NAME: yes
2748///          OUTPUT-LABEL: yes
2749///   INPUT-OUTPUT-VALUES: yes
2750///                OUTPUT: multiple
2751///           ANNOTATIONS: no
2752/// ```
2753pub const EX_0095: &str = r#"
2754  ┌───────────────────╥─────────────────────────────────┐
2755  │                   ║            Customer             │
2756  │                   ╟──────────┬─────────┬────────────┤
2757  │                   ║"Business"│"Private"│"Government"│
2758  ╞════════════╤══════╬══════════╪═════════╪════════════╡
2759  │            │  <10 ║   0.05   │    0    │    0.15    │
2760  │ Order size ├──────╫──────────┼─────────┼────────────┤
2761  │            │ >=10 ║   0.10   │    0    │    0.15    │
2762  └────────────┴──────╨──────────┴─────────┴────────────┘
2763"#;
2764
2765/// **Crosstab** decision table,
2766///
2767/// ```text
2768///           ORIENTATION: **crosstab**
2769/// INFORMATION ITEM NAME: yes
2770///          OUTPUT-LABEL: yes
2771///   INPUT-OUTPUT-VALUES: yes
2772///                OUTPUT: multiple
2773///           ANNOTATIONS: yes
2774/// ```
2775/// Postponed until annotations for crosstab are in specification.
2776pub const EX_0096: &str = r#""#;
2777
2778/// **Crosstab** decision table,
2779/// **with** information item name,
2780/// **with** output label,
2781/// **no** input values,
2782/// **single** output,
2783/// **no** annotations,
2784/// **three inputs**.
2785///
2786/// ```text
2787///           ORIENTATION: crosstab
2788/// INFORMATION ITEM NAME: yes
2789///          OUTPUT LABEL: yes
2790///   INPUT/OUTPUT VALUES: no
2791///               OUTPUTS: single
2792///           ANNOTATIONS: no
2793///                 OTHER: three inputs
2794/// ```
2795pub const EX_0097: &str = r#"
2796  ┌─────────────────────────────────────────────────────────────┐
2797  │ Discount                                                    │
2798  ├───────────────────╥─────────────────────────────────────────┤
2799  │                   ║          Customer, Delivery             │
2800  │                   ╟──────────┬─────────────────┬────────────┤
2801  │     Discount      ║"Business"│    "Private"    │"Government"│
2802  │                   ╟──────────┼──────────┬──────┼────────────┤
2803  │                   ║    -     │ same day │ slow │     -      │
2804  ╞════════════╤══════╬══════════╪══════════╪══════╪════════════╡
2805  │            │ <10  ║   0.05   │    0     │ 0.05 │    0.15    │
2806  │ Order size ├──────╫──────────┼──────────┼──────┼────────────┤
2807  │            │ >=10 ║   0.10   │    0     │ 0.05 │    0.15    │
2808  └────────────┴──────╨──────────┴──────────┴──────┴────────────┘
2809"#;
2810
2811/// General horizontal decision table.
2812pub const EX_0100: &str = r#"
2813  ┌───────────────────────────┐
2814  │ information item name     │
2815  ├───┬────────────────────┬──┴─────────────────╥────────────────────┐
2816  │ C │ input expression 1 │ input expression 2 ║    output label    │
2817  │   ├────────────────────┼────────────────────╫────────────────────┤
2818  │   │ input value 1a,    │ input value 2a,    ║ output value 1a,   │
2819  │   │   input value 1b   │   input value 2b   ║   output value 1b  │
2820  ╞═══╪════════════════════╪════════════════════╬════════════════════╡
2821  │ 1 │                    │  input entry 2.1   ║  output entry 1.1  │
2822  ├───┤  input entry 1.1   ├────────────────────╫────────────────────┤
2823  │ 2 │                    │  input entry 2.2   ║  output entry 1.2  │
2824  ├───┼────────────────────┼────────────────────╫────────────────────┤
2825  │ 3 │  input entry 1.2   │         -          ║  output entry 1.3  │
2826  ├───┼────────────────────┼────────────────────╫────────────────────┤
2827  │ 4 │  input entry 1.3   │  input entry 2.3   ║  output entry 1.4  │
2828  └───┴────────────────────┴────────────────────╨────────────────────┘
2829"#;
2830
2831/// General horizontal decision table with multiple outputs.
2832pub const EX_0101: &str = r#"
2833  ┌───────────────────────────────────────────────────────────────────────────────────────┐
2834  │ information item name                                                                 │
2835  ├───┬────────────────────┬────────────────────╥─────────────────────────────────────────┤
2836  │ U │                    │                    ║               output label              │
2837  │   │ input expression 1 │ input expression 2 ╟────────────────────┬────────────────────┤
2838  │   │                    │                    ║ output component 1 │ output component 1 │
2839  │   ├────────────────────┼────────────────────╫────────────────────┼────────────────────┤
2840  │   │ input value 1a,    │ input value 2a,    ║ output value 1a,   │ output value 2a,   │
2841  │   │   input value 1b   │   input value 2b   ║   output value 1b  │   output value 2b  │
2842  ╞═══╪════════════════════╪════════════════════╬════════════════════╪════════════════════╡
2843  │ 1 │                    │  input entry 2.1   ║  output entry 1.1  │  output entry 2.1  │
2844  ├───┤  input entry 1.1   ├────────────────────╫────────────────────┼────────────────────┤
2845  │ 2 │                    │  input entry 2.2   ║  output entry 1.2  │  output entry 2.2  │
2846  ├───┼────────────────────┼────────────────────╫────────────────────┼────────────────────┤
2847  │ 3 │                    │  input entry 2.3   ║  output entry 1.3  │  output entry 2.3  │
2848  ├───┤  input entry 1.2   ├────────────────────╫────────────────────┼────────────────────┤
2849  │ 4 │                    │  input entry 2.4   ║  output entry 1.4  │  output entry 2.4  │
2850  ├───┼────────────────────┼────────────────────╫────────────────────┼────────────────────┤
2851  │ 5 │  input entry 1.4   │  input entry 2.5   ║  output entry 1.5  │  output entry 2.5  │
2852  └───┴────────────────────┴────────────────────╨────────────────────┴────────────────────┘
2853"#;
2854
2855/// General horizontal decision table with annotations.
2856pub const EX_0102: &str = r#"
2857  ┌───────────────────────────┐
2858  │   information item name   │
2859  ├───┬────────────────────┬──┴─────────────────╥────────────────────╥──────────────────────┬──────────────────────┐
2860  │ U │ input expression 1 │ input expression 2 ║    output label    ║     annotation 1     │     annotation 2     │
2861  │   ├────────────────────┼────────────────────╫────────────────────╫──────────────────────┼──────────────────────┤
2862  │   │ input value 1a,    │ input value 2a,    ║ output value 1a,   ║                      │                      │
2863  │   │   input value 1b   │   input value 2b   ║   output value 1b  ║                      │                      │
2864  ╞═══╪════════════════════╪════════════════════╬════════════════════╬══════════════════════╪══════════════════════╡
2865  │ 1 │                    │  input entry 2.1   ║  output entry 1.1  ║ annotation entry 1.1 │ annotation entry 2.1 │
2866  ├───┤  input entry 1.1   ├────────────────────╫────────────────────╫──────────────────────┼──────────────────────┤
2867  │ 2 │                    │  input entry 2.2   ║  output entry 1.2  ║ annotation entry 1.2 │ annotation entry 2.2 │
2868  ├───┼────────────────────┼────────────────────╫────────────────────╫──────────────────────┼──────────────────────┤
2869  │ 3 │  input entry 1.2   │         -          ║  output entry 1.3  ║ annotation entry 1.3 │ annotation entry 2.3 │
2870  ├───┼────────────────────┼────────────────────╫────────────────────╫──────────────────────┼──────────────────────┤
2871  │ 4 │  input entry 1.3   │  input entry 2.3   ║  output entry 1.4  ║ annotation entry 1.4 │ annotation entry 2.4 │
2872  └───┴────────────────────┴────────────────────╨────────────────────╨──────────────────────┴──────────────────────┘
2873"#;
2874
2875/// General vertical decision table.
2876pub const EX_0103: &str = r#"
2877  ┌───────────────────────────┐
2878  │   information item name   │
2879  ├────────────────────┬──────┴─────────────╥─────────────────────────────────────┬──────────────────┐
2880  │ input expression 1 │ input value 1a,    ║            input entry 1.1          │ input entry 1.2  │
2881  │                    │ input value 1b     ║                                     │                  │
2882  ├────────────────────┼────────────────────╫──────────────────┬──────────────────┼──────────────────┤
2883  │ input expression 2 │ input value 2a,    ║ input entry 2.1  │ input entry 2.2  │         -        │
2884  │                    │ input value 2b     ║                  │                  │                  │
2885  ╞════════════════════╪════════════════════╬══════════════════╪══════════════════╪══════════════════╡
2886  │ output label       │ output value 1a,   ║ output entry 1.1 │ output entry 1.2 │ output entry 1.3 │
2887  │                    │ output value 1b    ║                  │                  │                  │
2888  ├────────────────────┼────────────────────╫──────────────────┼──────────────────┼──────────────────┤
2889  │         U          │                    ║         1        │        2         │         3        │
2890  └────────────────────┴────────────────────╨──────────────────┴──────────────────┴──────────────────┘
2891"#;
2892
2893/// General vertical decision table with multiple outputs.
2894pub const EX_0104: &str = r#"
2895  ┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
2896  │ information item name                                                                            │
2897  ├──────────────────────┬──────────────────╥─────────────────────────────────────┬──────────────────┤
2898  │ input expression 1   │ input value 1a,  ║            input entry 1.1          │ input entry 1.2  │
2899  │                      │  input value 1b  ║                                     │                  │
2900  ├──────────────────────┼──────────────────╫──────────────────┬──────────────────┼──────────────────┤
2901  │ input expression 2   │ input value 2a,  ║ input entry 2.1  │ input entry 2.2  │         -        │
2902  │                      │  input value 2b  ║                  │                  │                  │
2903  ╞════════╤═════════════╪══════════════════╬══════════════════╪══════════════════╪══════════════════╡
2904  │        │   output    │ output value 1a, ║ output entry 1.1 │ output entry 1.2 │ output entry 1.3 │
2905  │ output │ component 1 │  output value 1b ║                  │                  │                  │
2906  │ label  ├─────────────┼──────────────────╫──────────────────┼──────────────────┼──────────────────┤
2907  │        │   output    │ output value 2a, ║ output entry 2.1 │ output entry 2.2 │ output entry 2.3 │
2908  │        │ component 2 │  output value 2b ║                  │                  │                  │
2909  ├────────┴─────────────┼──────────────────╫──────────────────┼──────────────────┼──────────────────┤
2910  │          U           │                  ║         1        │        2         │         3        │
2911  └──────────────────────┴──────────────────╨──────────────────┴──────────────────┴──────────────────┘
2912"#;
2913
2914/// General vertical decision table with annotations.
2915pub const EX_0105: &str = r#"
2916  ┌───────────────────────────┐
2917  │   information item name   │
2918  ├────────────────────┬──────┴─────────────╥─────────────────────────────────────────────┬──────────────────────┐
2919  │ input expression 1 │ input value 1a,    ║               input entry 1.1               │    input entry 1.1   │
2920  │                    │  input value 1b    ║                                             │                      │
2921  ├────────────────────┼────────────────────╫──────────────────────┬──────────────────────┼──────────────────────┤
2922  │ input expression 2 │ input value 2a,    ║   input entry 2.1    │   input entry 2.2    │           -          │
2923  │                    │  input value 2b    ║                      │                      │                      │
2924  ╞════════════════════╪════════════════════╬══════════════════════╪══════════════════════╪══════════════════════╡
2925  │    output label    │ output value 1a,   ║   output entry 1.1   │   output entry 1.2   │   output entry 1.3   │
2926  │                    │  output value 1b   ║                      │                      │                      │
2927  ╞════════════════════╪════════════════════╬══════════════════════╪══════════════════════╪══════════════════════╡
2928  │    annotation 1    │                    ║ annotation entry 1.1 │ annotation entry 1.2 │ annotation entry 1.3 │
2929  ├────────────────────┼────────────────────╫──────────────────────┼──────────────────────┼──────────────────────┤
2930  │    annotation 2    │                    ║ annotation entry 2.1 │ annotation entry 2.2 │ annotation entry 2.3 │
2931  ├────────────────────┼────────────────────╫──────────────────────┼──────────────────────┼──────────────────────┤
2932  │         U          │                    ║           1          │           2          │           3          │
2933  └────────────────────┴────────────────────╨──────────────────────┴──────────────────────┴──────────────────────┘
2934"#;
2935
2936/// General crosstab decision table.
2937pub const EX_0106: &str = r#"
2938  ┌────────────────────────────────────────────────────────────────┐
2939  │ information item name                                          │
2940  ├──────────────────────────────────╥─────────────────────────────┤
2941  │                                  ║      input expression 1     │
2942  │           output label           ╟──────────────┬──────────────┤
2943  │                                  ║ input entry  │ input entry  │
2944  │                                  ║      1.1     │      1.2     │
2945  ╞════════════════════╤═════════════╬══════════════╪══════════════╡
2946  │                    │ input entry ║ output entry │ output entry │
2947  │                    │     2.1     ║      1.1     │      1.3     │
2948  │ input expression 2 ├─────────────╫──────────────┼──────────────┤
2949  │                    │ input entry ║ output entry │ output entry │
2950  │                    │     2.2     ║      1.2     │      1.4     │
2951  └────────────────────┴─────────────╨──────────────┴──────────────┘
2952"#;
2953
2954/// General crosstab decision table with multiple outputs.
2955pub const EX_0107: &str = r#"
2956  ┌───────────────────────────────────────────────────────────────┐
2957  │ information item name                                         │
2958  ├───────────────────────╥───────────────────────────────────────┤
2959  │     output label      ║          input expression 1           │
2960  ├───────────────────────╫───────────────────┬───────────────────┤
2961  │  output component 1,  ║  input entry 1a   │  input entry 1b   │
2962  │  output component 2   ║                   │                   │
2963  ╞════════════╤══════════╬═══════════════════╪═══════════════════╡
2964  │            │  input   ║ output entry 1.1, │ output entry 1.3, │
2965  │   input    │ entry 2a ║ output entry 2.1  │ output entry 2.3  │
2966  │ expression ├──────────╫───────────────────┼───────────────────┤
2967  │     2      │  input   ║ output entry 1.2, │ output entry 1.4, │
2968  │            │ entry 2b ║ output entry 2.2  │ output entry 2.4  │
2969  └────────────┴──────────╨───────────────────┴───────────────────┘
2970"#;