mirror of
https://github.com/orange-cpp/omath.git
synced 2026-06-15 11:44:34 +00:00
added modules support
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
import omath;
|
||||
|
||||
TEST(UnitTestModule, ImportOmath)
|
||||
{
|
||||
const omath::Vector2<float> vec{1.f, 2.f};
|
||||
|
||||
EXPECT_FLOAT_EQ(vec.x, 1.f);
|
||||
EXPECT_FLOAT_EQ(vec.y, 2.f);
|
||||
}
|
||||
Reference in New Issue
Block a user