Files
OBS-WebKitGTK/tests/protocol-test.c
2026-07-18 11:33:47 +05:00

16 lines
383 B
C

#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(offsetof(struct owb_shared_frames, pixels) == 40);
assert(owb_shared_size(2, 2) == 72);
assert(offsetof(struct owb_command, text) == 36);
assert(OWB_CONFIG_MAGIC != OWB_COMMAND_MAGIC);
return 0;
}