/** * @file crc32.c CRC32 Testcode * * Copyright (C) 2010 Creytiv.com */ #include #include #include "test.h" #define DEBUG_MODULE "testcrc32" #define DEBUG_LEVEL 4 #include int test_crc32(void) { const struct { const char *str; uint32_t crc; } testv[] = { {"string", 0x9ebeb2a9 }, {"hei", 0x95610594 }, {"0ndka98d198aloidks9zaz1oqs5jilk", 0x92a398f6 }, }; size_t i; for (i=0; i