2023-04-26 16:33:20 +02:00
|
|
|
#ifndef MLPP_MATRIX_TESTS_H
|
|
|
|
#define MLPP_MATRIX_TESTS_H
|
|
|
|
|
|
|
|
// TODO port this class to use the test module once it's working
|
|
|
|
// Also don't forget to remove it's bindings
|
|
|
|
|
|
|
|
#include "core/math/math_defs.h"
|
|
|
|
|
|
|
|
#include "core/containers/vector.h"
|
|
|
|
|
|
|
|
#include "core/object/reference.h"
|
|
|
|
|
|
|
|
#include "core/string/ustring.h"
|
|
|
|
|
|
|
|
#include "mlpp_tests.h"
|
|
|
|
|
|
|
|
class MLPPMatrix;
|
|
|
|
class MLPPVector;
|
|
|
|
|
|
|
|
class MLPPMatrixTests : public MLPPTests {
|
|
|
|
GDCLASS(MLPPMatrixTests, MLPPTests);
|
|
|
|
|
|
|
|
public:
|
2023-04-26 21:50:36 +02:00
|
|
|
void run_tests();
|
|
|
|
|
2023-04-26 16:33:20 +02:00
|
|
|
void test_mlpp_matrix();
|
2023-04-26 21:50:36 +02:00
|
|
|
|
2023-04-29 15:07:30 +02:00
|
|
|
void test_row_add();
|
|
|
|
void test_row_add_pool_vector();
|
|
|
|
void test_row_add_mlpp_vector();
|
|
|
|
void test_rows_add_mlpp_matrix();
|
2023-04-26 21:50:36 +02:00
|
|
|
|
2023-04-29 15:07:30 +02:00
|
|
|
void test_row_remove();
|
|
|
|
void test_row_remove_unordered();
|
2023-04-26 21:50:36 +02:00
|
|
|
|
|
|
|
|
2023-04-26 16:33:20 +02:00
|
|
|
void test_mlpp_matrix_mul();
|
|
|
|
|
|
|
|
MLPPMatrixTests();
|
|
|
|
~MLPPMatrixTests();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|