comparison tests/vecmattest.c @ 1432:a9516570cc26

Improve build, so that we can build the tools and tests with minimal depencies (e.g. without libSDL linking when possible.) And this also on Win32 MinGW.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 22 Nov 2017 01:33:21 +0200
parents e2ac08228a0f
children d8a83582f78f
comparison
equal deleted inserted replaced
1431:ed04fb6da07c 1432:a9516570cc26
1 #include "dmtool.h"
1 #include "dmlib.h" 2 #include "dmlib.h"
2 #include "dmvecmat.h" 3 #include "dmvecmat.h"
3 #include "dmmutex.h"
4 4
5 void printTest(const char *test, int expected, int result) 5 void printTest(const char *test, int expected, int result)
6 { 6 {
7 fprintf(stderr, "Test '%s': %s\n", test, 7 fprintf(stderr, "Test '%s': %s\n", test,
8 expected == result ? "OK" : "FAILED!"); 8 expected == result ? "OK" : "FAILED!");