- Started interface for renderers
- Renamed fproc -> langproc (I'll probably never settle on a naming convention for this) - Refactored set to use median psl
This commit is contained in:
@@ -20,10 +20,10 @@ add_executable(fennec-test main.cpp
|
||||
tests/math/test_exponential.h
|
||||
tests/math/test_relational.h
|
||||
tests/math/test_trigonometric.h
|
||||
tests/fproc/test_strings.h
|
||||
tests/fproc/strings/test_cstring.h
|
||||
tests/test_fproc.h
|
||||
tests/fproc/test_io.h
|
||||
tests/langproc/test_strings.h
|
||||
tests/langproc/strings/test_cstring.h
|
||||
tests/test_langproc.h
|
||||
tests/langproc/test_io.h
|
||||
printing.h
|
||||
tests/math/test_ext.h
|
||||
tests/math/ext/test_quaternion.h
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#include "test.h"
|
||||
#include "tests/test_containers.h"
|
||||
#include "tests/test_fproc.h"
|
||||
#include "tests/test_langproc.h"
|
||||
#include "tests/test_platform.h"
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ int main(int, char **)
|
||||
|
||||
fennec_test_header("format processing library");
|
||||
fennec_test_spacer(2);
|
||||
fennec::test::fennec_test_fproc();
|
||||
fennec::test::fennec_test_langproc();
|
||||
fennec_test_spacer(3);
|
||||
|
||||
fennec_test_header("platform library");
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
#define FENNEC_TEST_PRINTING_H
|
||||
|
||||
#include <iostream>
|
||||
#include <fennec/fproc/filesystem/path.h>
|
||||
#include <fennec/fproc/strings/string.h>
|
||||
#include <fennec/langproc/filesystem/path.h>
|
||||
#include <fennec/langproc/strings/string.h>
|
||||
|
||||
#include <fennec/math/common.h>
|
||||
#include <fennec/math/matrix.h>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#define FENNEC_TEST_CONTAINERS_MAP_H
|
||||
|
||||
#include <fennec/containers/map.h>
|
||||
#include <fennec/fproc/strings/string.h>
|
||||
#include <fennec/langproc/strings/string.h>
|
||||
|
||||
namespace fennec::test {
|
||||
|
||||
|
||||
@@ -16,15 +16,15 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_TEST_FPROC_STRINGS_CSTRING_H
|
||||
#define FENNEC_TEST_FPROC_STRINGS_CSTRING_H
|
||||
#ifndef FENNEC_TEST_LANGPROC_STRINGS_CSTRING_H
|
||||
#define FENNEC_TEST_LANGPROC_STRINGS_CSTRING_H
|
||||
|
||||
#include <fennec/fproc/strings/cstring.h>
|
||||
#include <fennec/langproc/strings/cstring.h>
|
||||
|
||||
namespace fennec::test
|
||||
{
|
||||
|
||||
inline void fennec_test_fproc_strings_cstring()
|
||||
inline void fennec_test_langproc_strings_cstring()
|
||||
{
|
||||
static char test_string[] = "Hello World!";
|
||||
static const char test_string_const[] = "Hello World!";
|
||||
@@ -48,4 +48,4 @@ namespace fennec::test
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_TEST_FPROC_STRINGS_CSTRING_H
|
||||
#endif // FENNEC_TEST_LANGPROC_STRINGS_CSTRING_H
|
||||
@@ -16,18 +16,18 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_TEST_FPROC_IO_H
|
||||
#define FENNEC_TEST_FPROC_IO_H
|
||||
#ifndef FENNEC_TEST_LANGPROC_IO_H
|
||||
#define FENNEC_TEST_LANGPROC_IO_H
|
||||
|
||||
#include "../../test.h"
|
||||
|
||||
#include <fennec/fproc/filesystem/file.h>
|
||||
#include <fennec/fproc/filesystem/path.h>
|
||||
#include <fennec/langproc/filesystem/file.h>
|
||||
#include <fennec/langproc/filesystem/path.h>
|
||||
|
||||
namespace fennec::test
|
||||
{
|
||||
|
||||
inline void fennec_test_fproc_io() {
|
||||
inline void fennec_test_langproc_io() {
|
||||
|
||||
fennec_test_section("utilities");
|
||||
|
||||
@@ -89,4 +89,4 @@ namespace fennec::test
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_TEST_FPROC_IO_H
|
||||
#endif // FENNEC_TEST_LANGPROC_IO_H
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_TEST_FPROC_STRINGS_H
|
||||
#define FENNEC_TEST_FPROC_STRINGS_H
|
||||
#ifndef FENNEC_TEST_LANGPROC_STRINGS_H
|
||||
#define FENNEC_TEST_LANGPROC_STRINGS_H
|
||||
|
||||
#include "../../test.h"
|
||||
#include "./strings/test_cstring.h"
|
||||
@@ -25,11 +25,11 @@
|
||||
namespace fennec::test
|
||||
{
|
||||
|
||||
inline void fennec_test_fproc_strings()
|
||||
inline void fennec_test_langproc_strings()
|
||||
{
|
||||
fennec_test_subheader("cstring");
|
||||
fennec_test_spacer(2);
|
||||
fennec_test_fproc_strings_cstring();
|
||||
fennec_test_langproc_strings_cstring();
|
||||
fennec_test_spacer(3);
|
||||
|
||||
// TODO
|
||||
@@ -37,4 +37,4 @@ namespace fennec::test
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_TEST_FPROC_STRINGS_H
|
||||
#endif // FENNEC_TEST_LANGPROC_STRINGS_H
|
||||
@@ -16,26 +16,26 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_TEST_FPROC_H
|
||||
#define FENNEC_TEST_FPROC_H
|
||||
#ifndef FENNEC_TEST_LANGPROC_H
|
||||
#define FENNEC_TEST_LANGPROC_H
|
||||
|
||||
#include "../test.h"
|
||||
|
||||
#include "./fproc/test_strings.h"
|
||||
#include "./fproc/test_io.h"
|
||||
#include "./langproc/test_strings.h"
|
||||
#include "./langproc/test_io.h"
|
||||
|
||||
namespace fennec::test
|
||||
{
|
||||
|
||||
inline void fennec_test_fproc() {
|
||||
inline void fennec_test_langproc() {
|
||||
fennec_test_header("strings");
|
||||
fennec_test_spacer(2);
|
||||
fennec_test_fproc_strings();
|
||||
fennec_test_langproc_strings();
|
||||
fennec_test_spacer(3);
|
||||
|
||||
fennec_test_header("io");
|
||||
fennec_test_spacer(2);
|
||||
fennec_test_fproc_io();
|
||||
fennec_test_langproc_io();
|
||||
fennec_test_spacer(3);
|
||||
|
||||
// TODO
|
||||
@@ -43,4 +43,4 @@ namespace fennec::test
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_TEST_FPROC_H
|
||||
#endif // FENNEC_TEST_LANGPROC_H
|
||||
Reference in New Issue
Block a user