diff options
| author | Martin BaĆinka <marun1@email.cz> | 2021-04-29 08:40:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-29 09:40:06 +0300 |
| commit | 35eb7753d29a9ad14b145a09c057a88131d6ede0 (patch) | |
| tree | ebe2b69d32e12126c8a1e49c5e1d0012044c2bfa /unittests | |
| parent | 951f522b13b1ea0068345369a98d18d862b29582 (diff) | |
| download | libfixmath-35eb7753d29a9ad14b145a09c057a88131d6ede0.tar.gz | |
New unittests (#28)
Refactor unittests
Diffstat (limited to 'unittests')
| -rw-r--r-- | unittests/Makefile | 2 | ||||
| -rw-r--r-- | unittests/fix16_exp_unittests.c | 2 | ||||
| -rw-r--r-- | unittests/fix16_unittests.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/unittests/Makefile b/unittests/Makefile index 78433fe..612be42 100644 --- a/unittests/Makefile +++ b/unittests/Makefile @@ -2,7 +2,7 @@ CC = gcc # Basic CFLAGS for debugging -CFLAGS = -g -O0 -I../libfixmath -Wall -Wextra -Werror +CFLAGS = -g -O0 -I../libfixmath -I.. -Wall -Wextra -Werror # The files required for tests FIX16_SRC = ../libfixmath/fix16.c ../libfixmath/fix16_sqrt.c ../libfixmath/fix16_str.c \ diff --git a/unittests/fix16_exp_unittests.c b/unittests/fix16_exp_unittests.c index afb6706..9fc0617 100644 --- a/unittests/fix16_exp_unittests.c +++ b/unittests/fix16_exp_unittests.c @@ -1,4 +1,4 @@ -#include <fix16.h> +#include <libfixmath/fix16.h> #include <stdio.h> #include <math.h> #include <stdbool.h> diff --git a/unittests/fix16_unittests.c b/unittests/fix16_unittests.c index 51d8f61..436c979 100644 --- a/unittests/fix16_unittests.c +++ b/unittests/fix16_unittests.c @@ -1,8 +1,8 @@ -#include <fix16.h> +#include <libfixmath/fix16.h> #include <stdio.h> #include <math.h> #include <stdbool.h> -#include "int64.h" +#include "libfixmath/int64.h" #include "unittests.h" const fix16_t testcases[] = { |
