mirror of
https://github.com/orange-cpp/omath.git
synced 2026-06-15 11:44:34 +00:00
12 lines
193 B
C++
12 lines
193 B
C++
#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);
|
|
}
|