forked from M-Labs/nac3
25 lines
698 B
C++
25 lines
698 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>
|
|
|
|
// Special macro to inform `#include <irrt/*>` that we are testing.
|
|
#define IRRT_TESTING
|
|
|
|
// Note that failure unit tests are not supported.
|
|
|
|
#include <test/test_core.hpp>
|
|
#include <test/test_ndarray_basic.hpp>
|
|
#include <test/test_ndarray_broadcast.hpp>
|
|
#include <test/test_ndarray_indexing.hpp>
|
|
|
|
int main() {
|
|
test::core::run();
|
|
test::ndarray_basic::run();
|
|
test::ndarray_indexing::run();
|
|
test::ndarray_broadcast::run();
|
|
return 0;
|
|
} |