From 7ba94c0837f22ebc4422623ab67a44da215b545a Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 21 Nov 2023 19:44:50 -0800 Subject: [PATCH] zoom_hit_nothing test --- src/physics.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/physics.rs b/src/physics.rs index f25add7..ad277f4 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -1676,4 +1676,13 @@ fn hit_the_ground_oblique(){ Planar64Vec3::ZERO, Time::ZERO ),Some(Time::ONE_SECOND/2)); +} +#[test] +fn zoom_hit_nothing(){ + hit_the_ground(Body::new( + Planar64Vec3::ONE*10, + Planar64Vec3::int(10,0,0), + Planar64Vec3::int(0,100,0), + Time::ZERO + ),None); } \ No newline at end of file