dsntk-model-evaluator 0.3.0

ÐecisionToolkit | DMN model evaluator
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::*;

from_examples!(DMN_2_0002);

#[test]
fn _0001() {
  let ctx = context(r#"{Monthly Salary: 10000}"#);
  let invocable = "Yearly Salary";
  let expected = "120000";
  assert_decision(&MODEL_EVALUATOR, &MODEL_NAMESPACE, &MODEL_NAME, invocable, &ctx, expected);
}