Added example test for bitwriter
This commit is contained in:
parent
2c7c9820e2
commit
3f156e6d24
1 changed files with 5 additions and 1 deletions
|
|
@ -137,7 +137,11 @@ void run_bitwriter_test(bitwriter_test_elem data[], char flags) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_bitwriter_ints(void) {
|
static void test_bitwriter_ints(void) {
|
||||||
|
bitwriter_test_elem data[] = {
|
||||||
|
{ -0x200000000, 64 },
|
||||||
|
{ 0,0 }
|
||||||
|
};
|
||||||
|
run_bitwriter_test(data, BIT_BIG_ENDIAN | BYTE_BIG_ENDIAN);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_bitwriter_be(void) {
|
static void test_bitwriter_be(void) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue