From dc6c3052e4df6eecd60ded1b913e7e6476eb9921 Mon Sep 17 00:00:00 2001 From: sanine Date: Thu, 22 Sep 2022 18:30:08 -0500 Subject: add basic recursive aiNode push --- src/import/import_node.test.c | 116 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 src/import/import_node.test.c (limited to 'src/import/import_node.test.c') diff --git a/src/import/import_node.test.c b/src/import/import_node.test.c new file mode 100644 index 0000000..4d5c9ef --- /dev/null +++ b/src/import/import_node.test.c @@ -0,0 +1,116 @@ +#include +#include +#include +#include +#include "test/lily-test.h" +#include "import.test.h" + + +#include "import.c" + + +#define MESH_COUNT 13 +void test_push_node() +{ + lua_State *L = luaL_newstate(); + + int meshes[MESH_COUNT]; + for (int i=0; i