Added expression templates (#98)

- Works with NDArray
- Works with NDView
This commit is contained in:
Erik Fröjdh authored and GitHub committed 2024-11-15 15:17:52 +01:00
1 parent 0d058274d5
commit e77b615293
12 files changed
+341 -64

No files matched your search

+2 -2
View File
@@ -4,12 +4,12 @@
#include <filesystem>
#include <fstream>
TEST_CASE("Test suite can find data assets") {
TEST_CASE("Test suite can find data assets", "[.integration]") {
auto fpath = test_data_path() / "numpy" / "test_numpy_file.npy";
REQUIRE(std::filesystem::exists(fpath));
}
TEST_CASE("Test suite can open data assets") {
TEST_CASE("Test suite can open data assets", "[.integration]") {
auto fpath = test_data_path() / "numpy" / "test_numpy_file.npy";
auto f = std::ifstream(fpath, std::ios::binary);
REQUIRE(f.is_open());