mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
fixed tests includes
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
// Created by Vlad on 3/17/2025.
|
// Created by Vlad on 3/17/2025.
|
||||||
//
|
//
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <omath/engines/iw_engine/Camera.hpp>
|
#include <omath/engines/iw_engine/camera.hpp>
|
||||||
#include <omath/engines/iw_engine/Constants.hpp>
|
#include <omath/engines/iw_engine/constants.hpp>
|
||||||
#include <omath/engines/iw_engine/Formulas.hpp>
|
#include <omath/engines/iw_engine/formulas.hpp>
|
||||||
|
|
||||||
|
|
||||||
TEST(UnitTestEwEngine, ForwardVector)
|
TEST(UnitTestEwEngine, ForwardVector)
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
// Created by Orange on 11/23/2024.
|
// Created by Orange on 11/23/2024.
|
||||||
//
|
//
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <omath/engines/opengl_engine//Camera.hpp>
|
#include <omath/engines/opengl_engine/camera.hpp>
|
||||||
#include <omath/engines/opengl_engine/Constants.hpp>
|
#include <omath/engines/opengl_engine/constants.hpp>
|
||||||
#include <omath/engines/opengl_engine/Formulas.hpp>
|
#include <omath/engines/opengl_engine/formulas.hpp>
|
||||||
|
|
||||||
|
|
||||||
TEST(UnitTestOpenGL, ForwardVector)
|
TEST(UnitTestOpenGL, ForwardVector)
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
// Created by Orange on 11/23/2024.
|
// Created by Orange on 11/23/2024.
|
||||||
//
|
//
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <omath/engines/source_engine/Camera.hpp>
|
#include <omath/engines/source_engine/camera.hpp>
|
||||||
#include <omath/engines/source_engine/Constants.hpp>
|
#include <omath/engines/source_engine/constants.hpp>
|
||||||
#include <omath/engines/source_engine/Formulas.hpp>
|
#include <omath/engines/source_engine/formulas.hpp>
|
||||||
|
|
||||||
|
|
||||||
TEST(UnitTestSourceEngine, ForwardVector)
|
TEST(UnitTestSourceEngine, ForwardVector)
|
||||||
|
|||||||
@@ -2,8 +2,7 @@
|
|||||||
// Created by Orange on 11/30/2024.
|
// Created by Orange on 11/30/2024.
|
||||||
//
|
//
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <omath/Angles.hpp>
|
#include <omath/angles.hpp>
|
||||||
#include <omath/Angle.hpp>
|
|
||||||
|
|
||||||
TEST(UnitTestAngles, RadiansToDeg)
|
TEST(UnitTestAngles, RadiansToDeg)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Created by Vlad on 01.09.2024.
|
// Created by Vlad on 01.09.2024.
|
||||||
//
|
//
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <omath/Color.hpp>
|
#include <omath/color.hpp>
|
||||||
|
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "omath/collision/line_tracer.hpp"
|
#include "omath/collision/line_tracer.hpp"
|
||||||
#include "omath/Triangle.hpp"
|
#include "omath/triangle.hpp"
|
||||||
#include "omath/Vector3.hpp"
|
#include "omath/vector3.hpp"
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
using namespace omath::collision;
|
using namespace omath::collision;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// UnitTestMat.cpp
|
// UnitTestMat.cpp
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include "omath/Mat.hpp"
|
#include "omath/mat.hpp"
|
||||||
#include "omath/Vector3.hpp"
|
#include "omath/vector3.hpp"
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
// Created by vlad on 5/18/2024.
|
// Created by vlad on 5/18/2024.
|
||||||
//
|
//
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <omath/Matrix.hpp>
|
#include <omath/matrix.hpp>
|
||||||
#include "omath/Vector3.hpp"
|
#include "omath/vector3.hpp"
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
//
|
//
|
||||||
#include <complex>
|
#include <complex>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <omath/engines/source_engine/Camera.hpp>
|
#include <omath/engines/source_engine/camera.hpp>
|
||||||
#include <omath/projection/Camera.hpp>
|
#include <omath/projection/camera.hpp>
|
||||||
#include <print>
|
#include <print>
|
||||||
|
|
||||||
TEST(UnitTestProjection, Projection)
|
TEST(UnitTestProjection, Projection)
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
//
|
//
|
||||||
// Created by Orange on 1/6/2025.
|
// Created by Orange on 1/6/2025.
|
||||||
//
|
//
|
||||||
#include "omath/Triangle.hpp"
|
|
||||||
#include <gtest/gtest.h>
|
|
||||||
#include <omath/Vector3.hpp>
|
|
||||||
#include <cmath> // For std::sqrt, std::isinf, std::isnan
|
#include <cmath> // For std::sqrt, std::isinf, std::isnan
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <omath/vector3.hpp>
|
||||||
|
#include "omath/triangle.hpp"
|
||||||
|
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
// Created by Vlad on 02.09.2024.
|
// Created by Vlad on 02.09.2024.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
|
||||||
#include <omath/Vector2.hpp>
|
|
||||||
#include <cmath> // For std::isinf and std::isnan
|
|
||||||
#include <cfloat> // For FLT_MAX and FLT_MIN
|
#include <cfloat> // For FLT_MAX and FLT_MIN
|
||||||
|
#include <cmath> // For std::isinf and std::isnan
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <omath/vector2.hpp>
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
// Created by Vlad on 01.09.2024.
|
// Created by Vlad on 01.09.2024.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
|
||||||
#include <omath/Vector3.hpp>
|
|
||||||
#include <cmath>
|
|
||||||
#include <cfloat> // For FLT_MAX, FLT_MIN
|
#include <cfloat> // For FLT_MAX, FLT_MIN
|
||||||
|
#include <cmath>
|
||||||
|
#include <gtest/gtest.h>
|
||||||
#include <limits> // For std::numeric_limits
|
#include <limits> // For std::numeric_limits
|
||||||
|
#include <omath/vector3.hpp>
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <omath/Vector4.hpp>
|
|
||||||
#include <limits> // For std::numeric_limits
|
#include <limits> // For std::numeric_limits
|
||||||
|
#include <omath/vector4.hpp>
|
||||||
|
|
||||||
using namespace omath;
|
using namespace omath;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user