1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

18 lines
277 B
MiniZinc

/***
!Test
expected: !Result
status: SATISFIED
solution: !Solution
b: true
x: 1
***/
% Regression test for a crash in the optimiser that didn't expect
% bool2int as a predicate
var bool: b;
var 0..1: x;
constraint bool2int(b,x);
constraint x = 1;
solve satisfy;