Mercurial > vec
diff test/test_compare.h @ 17:41dd962abdd1
*: allow compiling vec in a C++ translation unit
this is stupid, but whatever
author | Paper <paper@tflc.us> |
---|---|
date | Wed, 20 Nov 2024 12:02:15 -0500 |
parents | e05c257c6a23 |
children | 627d548b23c8 |
line wrap: on
line diff
--- a/test/test_compare.h Wed Nov 20 04:16:56 2024 -0500 +++ b/test/test_compare.h Wed Nov 20 12:02:15 2024 -0500 @@ -32,6 +32,11 @@ #define CREATE_TESTS(bits, size) CREATE_TESTS_SIGN(, d, bits, size) CREATE_TESTS_SIGN(u, u, bits, size) +CREATE_TESTS(8, 2) + +CREATE_TESTS(8, 4) +CREATE_TESTS(16, 2) + CREATE_TESTS(8, 8) CREATE_TESTS(16, 4) CREATE_TESTS(32, 2) @@ -76,6 +81,11 @@ RUN_TESTS_SIGN( , bits, size) \ RUN_TESTS_SIGN(u, bits, size) + RUN_TESTS(8, 2) + + RUN_TESTS(8, 4) + RUN_TESTS(16, 2) + RUN_TESTS(8, 8) RUN_TESTS(16, 4) RUN_TESTS(32, 2)