From 430b2795c24ede132bba64f7713899f98d5fefbe Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Mon, 3 Dec 2012 09:16:00 +0100 Subject: [PATCH] testlib.cc: test_hilbert: fix tests Signed-off-by: Sven Verdoolaege --- testlib.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testlib.cc b/testlib.cc index 28914d7..045772d 100644 --- a/testlib.cc +++ b/testlib.cc @@ -617,13 +617,13 @@ int test_hilbert(struct barvinok_options *options) Matrix_Free(M); M = Cone_Hilbert_Basis(P, options->MaxRays); - assert(M->NbRows = 5); - assert(M->NbColumns = 3); + assert(M->NbRows == 5); + assert(M->NbColumns == 3); Matrix_Free(M); M = Cone_Integer_Hull(P, NULL, 0, options); - assert(M->NbRows = 4); - assert(M->NbColumns = 3); + assert(M->NbRows == 4); + assert(M->NbColumns == 3); Matrix_Free(M); Polyhedron_Free(P); -- 2.11.4.GIT