gpu accelerated
This commit is contained in:
14
tests/protocol-test.c
Normal file
14
tests/protocol-test.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "protocol.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
assert(sizeof(struct owb_config_header) == 36);
|
||||
assert(sizeof(struct owb_command) == 100);
|
||||
assert(sizeof(struct owb_shared_frames) == 40);
|
||||
assert(offsetof(struct owb_command, text) == 36);
|
||||
assert(OWB_CONFIG_MAGIC != OWB_COMMAND_MAGIC);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user