/* WARNING: This file was generated by dkct. Changes you make here will be lost if dkct is run again! You should modify the original source and run dkct on it. Original source: test-dk4numl.ctr */ /** @file test-dk4numl.c The test-dk4numl module. */ #line 1 "test-dk4numl.ctr" #include #include "dk4numl.h" static const size_t sizes[] = { 1, 2, 4, 8, 16, 32, 64, 65, 128, 256 }; static const size_t sz_sizes = sizeof(sizes)/sizeof(size_t); int main(void) { size_t i; for (i = 0; i < sz_sizes; i++) { printf("Bytes: %u Unsigned: %u Signed: %u\n", (unsigned)sizes[i], (unsigned)dk4numlength(sizes[i], 0), (unsigned)dk4numlength(sizes[i], 1) ); } return 0; }