From 612ee5da6ea25a5e59a7ae3d1294fdff6f6b7562 Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Wed, 12 Nov 2025 15:48:24 +0100 Subject: [PATCH] test: rename to tests/ for Rust integration test compatibility --- {test => tests}/occt/CMakeLists.txt | 0 {test => tests}/occt/point-test.cpp | 0 tests/wrappers/point-test.rs | 10 ++++++++++ 3 files changed, 10 insertions(+) rename {test => tests}/occt/CMakeLists.txt (100%) rename {test => tests}/occt/point-test.cpp (100%) create mode 100644 tests/wrappers/point-test.rs diff --git a/test/occt/CMakeLists.txt b/tests/occt/CMakeLists.txt similarity index 100% rename from test/occt/CMakeLists.txt rename to tests/occt/CMakeLists.txt diff --git a/test/occt/point-test.cpp b/tests/occt/point-test.cpp similarity index 100% rename from test/occt/point-test.cpp rename to tests/occt/point-test.cpp diff --git a/tests/wrappers/point-test.rs b/tests/wrappers/point-test.rs new file mode 100644 index 0000000..5736cdb --- /dev/null +++ b/tests/wrappers/point-test.rs @@ -0,0 +1,10 @@ +#[test] +mod tests { + use arc_core::ffi::point::Point; + + fn point_creation() { + let p = Point::new(1.0, 2.0, 3.0); + let coords = p.coordinates(); + assert_eq!(coords, (1.0, 2.0, 3.0)); + } +}