imicros-feel-interpreter
Version:
DMN decisions and FEEL language interpreter
30 lines (28 loc) • 718 B
JavaScript
const tests = [
{
case: "Spring, 3 guests, with children",
//analyse: true,
data: {
"Season": "Spring",
"Number of Guests": 3,
"Guests with children?": true
},
result: {
beverages: [ 'Pinot Noir', 'Apple Juice' ]
}
},
{
case: "Fall, 3 guests, with children",
data: {
"Season": "Fall",
"Number of Guests": 3,
"Guests with children?": true
},
result: {
beverages: [ "Aecht Schlenkerla Rauchbier", 'Apple Juice' ]
}
}
];
module.exports = {
tests
};