- Updated Coding Standards and adjusted code to fit.

- Restructured test for organization purposes
This commit is contained in:
2025-06-12 13:03:50 -04:00
parent b7e1b1ff62
commit e50cfb6e64
35 changed files with 384 additions and 163 deletions

View File

@@ -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