- Updated Coding Standards and adjusted code to fit.
- Restructured test for organization purposes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// =====================================================================================================================
|
||||
// fennec, a free and open source game engine
|
||||
// Copyright (C) 2025 Medusa Slockbower
|
||||
// fennec-test, a program to execute unit tests for fennec
|
||||
// Copyright © 2025 Medusa Slockbower
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
@@ -17,8 +17,8 @@
|
||||
// =====================================================================================================================
|
||||
|
||||
|
||||
#ifndef TEST_GEOMETRIC_H
|
||||
#define TEST_GEOMETRIC_H
|
||||
#ifndef FENNEC_TEST_GEOMETRIC_H
|
||||
#define FENNEC_TEST_GEOMETRIC_H
|
||||
|
||||
#include <fennec/math/geometric.h>
|
||||
#include <fennec/math/trigonometric.h>
|
||||
@@ -31,10 +31,8 @@ namespace fennec
|
||||
namespace test
|
||||
{
|
||||
|
||||
inline void fennec_test_geometric()
|
||||
inline void fennec_test_math_geometric()
|
||||
{
|
||||
fennec_test_section(geometric functions);
|
||||
|
||||
fennec_test_spacer(1);
|
||||
|
||||
fennec_test_run(fennec::dot(vec2(1, 2), vec2(1, 2)), 5.0f);
|
||||
@@ -77,4 +75,4 @@ inline void fennec_test_geometric()
|
||||
}
|
||||
|
||||
|
||||
#endif // TEST_GEOMETRIC_H
|
||||
#endif // FENNEC_TEST_GEOMETRIC_H
|
||||
|
||||
Reference in New Issue
Block a user