23 lines
501 B
C
23 lines
501 B
C
#ifndef ZRL_TEST_H
|
|
#define ZRL_TEST_H
|
|
|
|
#include "opcodes.h"
|
|
|
|
/* Test function type definition */
|
|
typedef bool (*TestFunction)(VM *vm);
|
|
|
|
/* Test mapping structure */
|
|
struct TestMapping {
|
|
const char* filename;
|
|
TestFunction test_func;
|
|
};
|
|
|
|
bool compile_internal_test(const char* filename, VM* vm);
|
|
bool test_add_compile (VM *vm);
|
|
bool test_loop_compile (VM *vm);
|
|
bool test_add_function_compile(VM *vm);
|
|
bool test_recursive_function_compile(VM *vm);
|
|
bool test_window_click_compile(VM *vm);
|
|
|
|
#endif
|