mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
11 lines
233 B
C++
11 lines
233 B
C++
#include <quiz.h>
|
|
#include <ion.h>
|
|
#include <assert.h>
|
|
|
|
QUIZ_CASE(ion_crc32) {
|
|
uint32_t input[] = { 0x48656C6C, 0x6F2C2077 };
|
|
quiz_assert(Ion::crc32(input, 1) == 0x93591FFD);
|
|
quiz_assert(Ion::crc32(input, 2) == 0x72EAD3FB);
|
|
}
|
|
|