Added unit tests (catch based)

This commit is contained in:
gabime
2015-05-15 20:30:37 +03:00
parent 056352cf42
commit 2f81e54568
10 changed files with 9832 additions and 0 deletions

12
tests/Makefile Normal file
View File

@@ -0,0 +1,12 @@
CXX ?= g++
CXXFLAGS = -D_WIN32_WINNT=0x600 -march=native -Wall -Wextra -Wshadow -pedantic -std=c++11 -pthread -Wl,--no-as-needed -I../include
all: %.cpp
$(CXX) $^ -o tests $(CXXFLAGS) $(CXX_RELEASE_FLAGS)
clean:
rm -f tests *.o logs/*
rebuild: clean all