test: move to tests/ because of issues with cargo test

This commit is contained in:
2025-11-12 16:19:37 +01:00
parent ced3c4d22b
commit 3192e81443
2 changed files with 13 additions and 10 deletions
+13
View File
@@ -0,0 +1,13 @@
/*
SPDX-License-Identifier: AGPL-3.0-or-later
Copyright (C) 2025 Erick Ahmed
*/
use arc_core::wrappers::point::Point;
#[test]
fn point_creation() {
let p = Point::new(1.0, 2.0, 3.0).expect("Failed to create point");
let coords = p.coordinates();
assert_eq!(coords, (1.0, 2.0, 3.0));
}
-10
View File
@@ -1,10 +0,0 @@
#[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));
}
}