lyken
628965e519
progress details: - organize test suite sources with namespaces - organize ndarray implementations with namespaces - remove extraneous code/comment - add more tests - some renaming - fix pre-existing bugs - ndarray::subscript now throw errors
23 lines
633 B
C++
23 lines
633 B
C++
// This file will be compiled like a real C++ program,
|
|
// and we do have the luxury to use the standard libraries.
|
|
// That is if the nix flakes do not have issues... especially on msys2...
|
|
#include <cstdint>
|
|
#include <cstdio>
|
|
#include <cstdlib>
|
|
|
|
#include <irrt_everything.hpp>
|
|
|
|
#include <test/core.hpp>
|
|
#include <test/test_core.hpp>
|
|
#include <test/test_ndarray_basic.hpp>
|
|
#include <test/test_ndarray_subscript.hpp>
|
|
#include <test/test_slice.hpp>
|
|
|
|
int main() {
|
|
// Be wise about the order of suites!!
|
|
test::core::run();
|
|
test::slice::run();
|
|
test::ndarray_basic::run();
|
|
test::ndarray_subscript::run();
|
|
return 0;
|
|
} |