diff options
Diffstat (limited to 'src/gl/window.test.c')
-rw-r--r-- | src/gl/window.test.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/gl/window.test.c b/src/gl/window.test.c deleted file mode 100644 index 505c876..0000000 --- a/src/gl/window.test.c +++ /dev/null @@ -1,24 +0,0 @@ -#include <stdlib.h> -#include <lua.h> -#include <honeysuckle.h> -#include "test/honey-test.h" - -#include "window.c" - - -void create_window_data_works() -{ - lua_State *L = luaL_newstate(); - struct window_data *wdata = create_window_data(L); - - lily_assert_ptr_equal(L, wdata->L); - lily_assert_int_equal(wdata->framebuffer_size_callback, LUA_NOREF); - lua_close(L); - free(wdata); -} - - -void suite_window() -{ - lily_run_test(create_window_data_works); -} |