Упрощение тестов

This commit is contained in:
Andrey Pokidov 2025-02-13 19:28:40 +07:00
parent fcf793c758
commit 7f242c4b63
71 changed files with 518 additions and 943 deletions

View file

@ -3,15 +3,53 @@
#include <basic-geometry.h>
#define TEST_SUCCESS 0
#define TEST_SUCCES 0
#define TEST_FAILED 1
// =================== Number =================== //
typedef struct {
float number1, number2;
} TestNumberPairFP32;
typedef struct {
double number1, number2;
} TestNumberPairFP64;
// ================== Vector2 =================== //
// ================== Vector3 =================== //
// ================= Quaternion ================= //
// =================== Versor =================== //
typedef struct {
BgcVersorFP32 first, second;
} TestVersorPairFP32;
typedef struct {
BgcVersorFP64 first, second;
} TestVersorPairFP64;
typedef struct {
BgcVersorFP32 first, second, result;
} TestVersorTripletFP32;
typedef struct {
BgcVersorFP64 first, second, result;
} TestVersorTripletFP64;
// ================= Functions ================== //
void print_testing_section(const char * name);
void print_testing_name(const char * name);
void print_testing_success();
void print_testing_failed(const char* message);
void print_testing_error(const char * message);
void print_testing_failed();
#endif