From 767265863fca8e2043622f0591281a1deb7821af Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Aug 2018 15:04:57 +0200 Subject: Add Hilbert mapping and unmapping tests --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ee64ced..c6201c9 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CXXFLAGS += -I. -std=c++14 -Wall -Wextra -Wno-unused-parameter HEADERS = $(wildcard chilbert/*.hpp) -TESTS = test/test_bitvec test/test_gray_code_rank +TESTS = test/test_bitvec test/test_gray_code_rank test/test_hilbert all: $(TESTS) @@ -11,6 +11,9 @@ clean: test/%: test/%.cpp $(HEADERS) $(CXX) $(CXXFLAGS) -o $@ $@.cpp +test/test_hilbert: test/test_hilbert.cpp $(HEADERS) + $(CXX) $(CXXFLAGS) -lgmp -lgmpxx -o $@ $@.cpp + FORCE: test/%.run: $(TESTS) FORCE -- cgit v1.2.1