From fb8197839c0bebc20fd68ee3f280da934c49c473 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 22 Dec 2017 21:16:02 +0000 Subject: Removing editor and refactoring code. --- tests/yage/test.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/yage/test.cpp (limited to 'tests/yage/test.cpp') diff --git a/tests/yage/test.cpp b/tests/yage/test.cpp new file mode 100644 index 00000000..a599eba2 --- /dev/null +++ b/tests/yage/test.cpp @@ -0,0 +1,26 @@ +/** --------------------------------------------------------------------------- + * @file: yagetest.cpp + * + * Copyright (c) 2017 Yann Herklotz Grave + * MIT License, see LICENSE file for more details. + * ---------------------------------------------------------------------------- + */ + +#include +#include + +TEST(YAGE, InitQuit) +{ + try { + yage::init(); + yage::quit(); + } catch (std::runtime_error e) { + // ASSERT_TRUE(false); + } +} + +int main(int argc, char **argv) +{ + testing::InitGoogleTest(&argc, argv); + return RUN_ALL_TESTS(); +} -- cgit