20#ifndef __WLMTK_TEST_H__
21#define __WLMTK_TEST_H__
23#include <libbase/libbase.h>
34#define WLMTK_TEST_VERIFY_WLRBOX_EQ(_test, _x, _y, _width, _height, _box) \
36 struct wlr_box __box = (_box); \
37 int __x = (_x), __y = (_y), __width = (_width), __height = (_height); \
38 if (__x != __box.x || __y != __box.y || \
39 __height != __box.height || __width != __box.width) { \
41 (_test), __FILE__, __LINE__, \
42 "Expecting {%d, %d, %d, %d}, got '%s' {%d, %d, %d, %d}", \
43 __x, __y, __width, __height, \
44 #_box, __box.x, __box.y, __box.width, __box.height); \
void wlmtk_test_wlr_output_init(struct wlr_output *wlr_output_ptr)
Definition test.c:33