From b23b815132bc5d69d92b0a4b760749ff7f74793a Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 21 Nov 2023 20:28:54 -0800 Subject: [PATCH] already_inside_hit_nothing test --- src/physics.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/physics.rs b/src/physics.rs index ad277f4..9f2ce5f 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -1685,4 +1685,13 @@ fn zoom_hit_nothing(){ Planar64Vec3::int(0,100,0), Time::ZERO ),None); +} +#[test] +fn already_inside_hit_nothing(){ + hit_the_ground(Body::new( + Planar64Vec3::int(10,5,10), + Planar64Vec3::int(10,0,0), + Planar64Vec3::int(0,100,0), + Time::ZERO + ),None); } \ No newline at end of file