diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/00_basic/basic_tests.c | 4 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/io_H48_tests.c | 4 | ||||
| -rw-r--r-- | test/011_io_SRC_write/io_SRC_tests.c | 4 | ||||
| -rw-r--r-- | test/012_io_AVX_write/io_AVX_tests.c | 4 | ||||
| -rw-r--r-- | test/020_move/move_tests.c | 4 | ||||
| -rw-r--r-- | test/030_inverse_cube/inverse_tests.c | 4 | ||||
| -rw-r--r-- | test/040_compose/compose_tests.c | 4 | ||||
| -rw-r--r-- | test/050_transform/transform_tests.c | 4 | ||||
| -rw-r--r-- | test/061_coord_eo/coord_eo_tests.c | 4 |
9 files changed, 36 insertions, 0 deletions
diff --git a/test/00_basic/basic_tests.c b/test/00_basic/basic_tests.c index 0a8f2ac..af0f2cd 100644 --- a/test/00_basic/basic_tests.c +++ b/test/00_basic/basic_tests.c | |||
| @@ -3,6 +3,10 @@ | |||
| 3 | #include <stdio.h> | 3 | #include <stdio.h> |
| 4 | #include <string.h> | 4 | #include <string.h> |
| 5 | 5 | ||
| 6 | #ifdef CUBE_AVX2 | ||
| 7 | #include <immintrin.h> | ||
| 8 | #endif | ||
| 9 | |||
| 6 | #include "../../cube.h" | 10 | #include "../../cube.h" |
| 7 | 11 | ||
| 8 | void | 12 | void |
diff --git a/test/010_io_H48_read_write/io_H48_tests.c b/test/010_io_H48_read_write/io_H48_tests.c index 62117b9..758124e 100644 --- a/test/010_io_H48_read_write/io_H48_tests.c +++ b/test/010_io_H48_read_write/io_H48_tests.c | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | #include <stdint.h> | 2 | #include <stdint.h> |
| 3 | #include <stdio.h> | 3 | #include <stdio.h> |
| 4 | 4 | ||
| 5 | #ifdef CUBE_AVX2 | ||
| 6 | #include <immintrin.h> | ||
| 7 | #endif | ||
| 8 | |||
| 5 | #include "../../cube.h" | 9 | #include "../../cube.h" |
| 6 | 10 | ||
| 7 | #define STRLENMAX 10000 | 11 | #define STRLENMAX 10000 |
diff --git a/test/011_io_SRC_write/io_SRC_tests.c b/test/011_io_SRC_write/io_SRC_tests.c index ea9005d..dd1bb7c 100644 --- a/test/011_io_SRC_write/io_SRC_tests.c +++ b/test/011_io_SRC_write/io_SRC_tests.c | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | #include <stdint.h> | 2 | #include <stdint.h> |
| 3 | #include <stdio.h> | 3 | #include <stdio.h> |
| 4 | 4 | ||
| 5 | #ifdef CUBE_AVX2 | ||
| 6 | #include <immintrin.h> | ||
| 7 | #endif | ||
| 8 | |||
| 5 | #include "../../cube.h" | 9 | #include "../../cube.h" |
| 6 | 10 | ||
| 7 | #define STRLENMAX 10000 | 11 | #define STRLENMAX 10000 |
diff --git a/test/012_io_AVX_write/io_AVX_tests.c b/test/012_io_AVX_write/io_AVX_tests.c index 62a6874..e2fa3e4 100644 --- a/test/012_io_AVX_write/io_AVX_tests.c +++ b/test/012_io_AVX_write/io_AVX_tests.c | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | #include <stdint.h> | 2 | #include <stdint.h> |
| 3 | #include <stdio.h> | 3 | #include <stdio.h> |
| 4 | 4 | ||
| 5 | #ifdef CUBE_AVX2 | ||
| 6 | #include <immintrin.h> | ||
| 7 | #endif | ||
| 8 | |||
| 5 | #include "../../cube.h" | 9 | #include "../../cube.h" |
| 6 | 10 | ||
| 7 | #define STRLENMAX 10000 | 11 | #define STRLENMAX 10000 |
diff --git a/test/020_move/move_tests.c b/test/020_move/move_tests.c index 0dede14..4a010f1 100644 --- a/test/020_move/move_tests.c +++ b/test/020_move/move_tests.c | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | #include <stdint.h> | 2 | #include <stdint.h> |
| 3 | #include <stdio.h> | 3 | #include <stdio.h> |
| 4 | 4 | ||
| 5 | #ifdef CUBE_AVX2 | ||
| 6 | #include <immintrin.h> | ||
| 7 | #endif | ||
| 8 | |||
| 5 | #include "../../cube.h" | 9 | #include "../../cube.h" |
| 6 | 10 | ||
| 7 | #define STRLENMAX 10000 | 11 | #define STRLENMAX 10000 |
diff --git a/test/030_inverse_cube/inverse_tests.c b/test/030_inverse_cube/inverse_tests.c index b08e42e..b07ab87 100644 --- a/test/030_inverse_cube/inverse_tests.c +++ b/test/030_inverse_cube/inverse_tests.c | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | #include <stdint.h> | 2 | #include <stdint.h> |
| 3 | #include <stdio.h> | 3 | #include <stdio.h> |
| 4 | 4 | ||
| 5 | #ifdef CUBE_AVX2 | ||
| 6 | #include <immintrin.h> | ||
| 7 | #endif | ||
| 8 | |||
| 5 | #include "../../cube.h" | 9 | #include "../../cube.h" |
| 6 | 10 | ||
| 7 | #define STRLENMAX 10000 | 11 | #define STRLENMAX 10000 |
diff --git a/test/040_compose/compose_tests.c b/test/040_compose/compose_tests.c index e8f0175..62f636e 100644 --- a/test/040_compose/compose_tests.c +++ b/test/040_compose/compose_tests.c | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | #include <stdint.h> | 2 | #include <stdint.h> |
| 3 | #include <stdio.h> | 3 | #include <stdio.h> |
| 4 | 4 | ||
| 5 | #ifdef CUBE_AVX2 | ||
| 6 | #include <immintrin.h> | ||
| 7 | #endif | ||
| 8 | |||
| 5 | #include "../../cube.h" | 9 | #include "../../cube.h" |
| 6 | 10 | ||
| 7 | #define STRLENMAX 10000 | 11 | #define STRLENMAX 10000 |
diff --git a/test/050_transform/transform_tests.c b/test/050_transform/transform_tests.c index e199035..30d62da 100644 --- a/test/050_transform/transform_tests.c +++ b/test/050_transform/transform_tests.c | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | #include <stdint.h> | 2 | #include <stdint.h> |
| 3 | #include <stdio.h> | 3 | #include <stdio.h> |
| 4 | 4 | ||
| 5 | #ifdef CUBE_AVX2 | ||
| 6 | #include <immintrin.h> | ||
| 7 | #endif | ||
| 8 | |||
| 5 | #include "../../cube.h" | 9 | #include "../../cube.h" |
| 6 | 10 | ||
| 7 | #define STRLENMAX 10000 | 11 | #define STRLENMAX 10000 |
diff --git a/test/061_coord_eo/coord_eo_tests.c b/test/061_coord_eo/coord_eo_tests.c index 3aed352..65119ef 100644 --- a/test/061_coord_eo/coord_eo_tests.c +++ b/test/061_coord_eo/coord_eo_tests.c | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | #include <inttypes.h> | 2 | #include <inttypes.h> |
| 3 | #include <stdio.h> | 3 | #include <stdio.h> |
| 4 | 4 | ||
| 5 | #ifdef CUBE_AVX2 | ||
| 6 | #include <immintrin.h> | ||
| 7 | #endif | ||
| 8 | |||
| 5 | #include "../../cube.h" | 9 | #include "../../cube.h" |
| 6 | 10 | ||
| 7 | #define STRLENMAX 10000 | 11 | #define STRLENMAX 10000 |
