scalar_product and a fix

This commit is contained in:
Vitor Santos Costa
2013-09-11 14:53:43 +01:00
parent b30f0eafdf
commit 23b860a977
2 changed files with 18 additions and 2 deletions

View File

@@ -15,3 +15,10 @@ test2(X) :-
X in 1..10,
X / 4 #= 2,
labeling([], [X]).
test3(A) :-
A = [X,Y,Z],
A ins 1..4,
Y #> 2,
lex_chain(A),
all_different(A),
labeling([], [X,Y,Z]).