Refactor yaze_test
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#define SDL_MAIN_HANDLED
|
||||
|
||||
#include "yaze.h"
|
||||
|
||||
#include <SDL.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
@@ -16,6 +18,18 @@
|
||||
#include "imgui_test_engine/imgui_te_imconfig.h"
|
||||
#include "test/integration/test_editor.h"
|
||||
|
||||
namespace yaze {
|
||||
namespace test {
|
||||
|
||||
TEST(YazeCLibTest, InitializeAndCleanup) {
|
||||
yaze_flags flags;
|
||||
yaze_init(&flags);
|
||||
yaze_cleanup(&flags);
|
||||
}
|
||||
|
||||
} // namespace test
|
||||
} // namespace yaze
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
absl::InitializeSymbolizer(argv[0]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user