pmlpp/test/mlpp_tests.h
2023-01-25 13:48:53 +01:00

32 lines
753 B
C++

#ifndef MLPP_TESTS_H
#define MLPP_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/containers/vector.h"
#include "core/object/reference.h"
#include "core/string/ustring.h"
class MLPPTests : public Reference {
GDCLASS(MLPPTests, Reference);
public:
void test_statistics();
void test_linear_algebra();
void is_approx_equalsd(double a, double b, const String &str);
void is_approx_equals_dvec(const Vector<double> &a, const Vector<double> &b, const String &str);
void is_approx_equals_dmat(const Vector<Vector<double>> &a, const Vector<Vector<double>> &b, const String &str);
MLPPTests();
~MLPPTests();
protected:
static void _bind_methods();
};
#endif