diff --git a/src/worker.rs b/src/worker.rs index 08287f6..c92cd4d 100644 --- a/src/worker.rs +++ b/src/worker.rs @@ -181,9 +181,9 @@ mod test{ #[test]//How to run this test with printing: cargo test --release -- --nocapture fn test_worker() { // Create the worker thread - let test_body=physics::Body::new(integer::Planar64Vec3::ONE,integer::Planar64Vec3::ONE,integer::Planar64Vec3::ONE,integer::Time::ZERO); - let worker=QRWorker::new(physics::Body::default(), - |_|physics::Body::new(integer::Planar64Vec3::ONE,integer::Planar64Vec3::ONE,integer::Planar64Vec3::ONE,integer::Time::ZERO) + let test_body=physics::Body::new(integer::vec3::ONE,integer::vec3::ONE,integer::vec3::ONE,integer::Time::ZERO); + let worker=QRWorker::new(physics::Body::ZERO, + |_|physics::Body::new(integer::vec3::ONE,integer::vec3::ONE,integer::vec3::ONE,integer::Time::ZERO) ); // Send tasks to the worker