Constant dmntk_examples::EX_0003[][src]

pub const EX_0003: &str = r#"
  ┌───┬──────────┬───────╥──────────┬──────────┐
  │ U │ Customer │ Order ║ Discount │ Priority │
  ╞═══╪══════════╪═══════╬══════════╪══════════╡
  │ 1 │"Business"│  <10  ║   0.10   │ "Normal" │
  ├───┼──────────┼───────╫──────────┼──────────┤
  │ 2 │"Business"│ >=10  ║   0.15   │  "High"  │
  ├───┼──────────┼───────╫──────────┼──────────┤
  │ 3 │"Private" │   -   ║   0.05   │  "Low"   │
  └───┴──────────┴───────╨──────────┴──────────┘
% { Customer:"Business",   Order:  -3.23 }, { Discount: 0.10, Priority: "Normal" }
% { Customer:"Business",   Order:   9.00 }, { Discount: 0.10, Priority: "Normal" }
% { Customer:"Business",   Order:  10.00 }, { Discount: 0.15, Priority: "High" }
% { Customer:"Business",   Order: 120.00 }, { Discount: 0.15, Priority: "High" }
% { Customer:"Private",    Order:  -2.34 }, { Discount: 0.05, Priority: "Low" }
% { Customer:"Private",    Order:  10.00 }, { Discount: 0.05, Priority: "Low" }
% { Customer:"Private",    Order: 101.00 }, { Discount: 0.05, Priority: "Low" }
% { Customer:"Government", Order:  10.00 }, null
"#;
Expand description

Horizontal decision table, no information item name, no output label, no input values, multiple outputs, without annotations.

          ORIENTATION: horizontal
INFORMATION ITEM NAME: no
         OUTPUT-LABEL: no
  INPUT-OUTPUT-VALUES: no
               OUTPUT: multiple
          ANNOTATIONS: no