this repo has no description
1/***
2!Test
3expected:
4- !Result
5 solution: !Solution
6 x: 1
7***/
8
9var 1..1: x ::add_to_output; % Just so we have something to print out.
10
11include "roots.mzn";
12
13constraint roots([], {}, {});
14constraint roots([1, 2, 3], {}, {});
15constraint roots([1, 3, 1, 2, 3], {2, 4, 5}, {2, 3, 8});
16constraint roots([1, 1, 1], {1, 2, 3}, {1, 2});
17
18solve satisfy;
19
20output [
21 "x = ", show(x), ";\n"
22];