this repo has no description
1/***
2!Test
3solvers: [gecode, chuffed, cbc]
4expected: !Result
5 solution: !Solution
6 addn: [0.0, -2.0, -1.0, 0.0, 1.0, 2.0, -2.0, -4.0, -3.0, -2.0, -1.0, 0.0, -1.0, -3.0, -2.0, -1.0, 0.0, 1.0, 0.0, -2.0, -1.0, 0.0, 1.0, 2.0, 1.0, -1.0, 0.0, 1.0, 2.0, 3.0, 2.0, 0.0, 1.0, 2.0, 3.0, 4.0]
7 subn: [null, null, null, null, null, null, -2.0, 0.0, -1.0, -2.0, -3.0, -4.0, -1.0, 1.0, 0.0, -1.0, -2.0, -3.0, 0.0, 2.0, 1.0, 0.0, -1.0, -2.0, 1.0, 3.0, 2.0, 1.0, 0.0, -1.0, 2.0, 4.0, 3.0, 2.0, 1.0, 0.0]
8 prod: [1.0, -2.0, -1.0, 0.0, 1.0, 2.0, -2.0, 4.0, 2.0, 0.0, -2.0, -4.0, -1.0, 2.0, 1.0, 0.0, -1.0, -2.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, -2.0, -1.0, 0.0, 1.0, 2.0, 2.0, -4.0, -2.0, 0.0, 2.0, 4.0]
9 divn: [null, null, null, null, null, -2.0, 1.0, 2.0, -2.0, -1.0, -1.0, 0.5, 1.0, -1.0, -0.5, 1.0, -0.5, -1.0, 1.0, 0.5, 2.0, -1.0, -2.0, 2.0, 1.0]
10 gt: [true, true, true, true, false, false, true, true, false]
11 ge: [true, true, true, true, true, false, true, true, true]
12 lt: [true, true, true, true, false, true, true, false, false]
13 le: [true, true, true, true, true, true, true, false, true]
14 status: SATISFIED
15***/
16
17array [1..36] of float: addn :: add_to_output = [x + y | x, y in [<>, -2.0, -1.0, 0.0, 1.0, 2.0]];
18array [1..36] of opt float: subn :: add_to_output = [x - y | x, y in [<>, -2.0, -1.0, 0.0, 1.0, 2.0]];
19array [1..36] of float: prod :: add_to_output = [x * y | x, y in [<>, -2.0, -1.0, 0.0, 1.0, 2.0]];
20array [1..25] of opt float: divn :: add_to_output = [x / y | x, y in [<>, -2.0, -1.0, 1.0, 2.0]];
21
22array [1..9] of bool: gt :: add_to_output = [ x > y | x, y in [<>, 0.0, 1.0]];
23array [1..9] of bool: ge :: add_to_output = [ x >= y | x, y in [<>, 0.0, 1.0]];
24array [1..9] of bool: lt :: add_to_output = [ x < y | x, y in [<>, 0.0, 1.0]];
25array [1..9] of bool: le :: add_to_output = [ x <= y | x, y in [<>, 0.0, 1.0]];
26
27solve satisfy;