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)); + } +}