diff options
-rw-r--r-- | tests/set.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/set.c b/tests/set.c index 8148895..1b96fbc 100644 --- a/tests/set.c +++ b/tests/set.c @@ -4,6 +4,22 @@ +static void +test_HASH_OUTPUT_LENGTH() { + test_start("HASH_OUTPUT_LENGTH"); + + { + testing("Enforce that SipHash's output matches endiannessbs's input"); + + return; // FIXME + printf("\n"); + printf("HASH_OUTPUT_LENGTH: %u\n", HASH_OUTPUT_LENGTH); + printf("ENDIANNESSBS_64BIT_LENGTH: %u\n", ENDIANNESSBS_64BIT_LENGTH); + assert(HASH_OUTPUT_LENGTH == ENDIANNESSBS_64BIT_LENGTH); + test_ok(); + } +} + static int test_set_new(void) { int rc = -1; @@ -81,6 +97,8 @@ int main(void) { int rc = EXIT_FAILURE; + test_HASH_OUTPUT_LENGTH(); + if (test_set_new()) { logerr("test_set_new()"); goto out; |