From a75704fb49a310a54121ff8c0aa5be2c5e9f51cd Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Mon, 15 Jul 2024 14:41:46 -0500 Subject: [PATCH] Placeholder for separation on div-0 error This calculation should produce an infinity, or NaN. Either way, it's an error that definitely still exists. I'll make a test for it, and then fix it at some point. This is so that I don't forget. --- src/birdoids_plugin.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/birdoids_plugin.rs b/src/birdoids_plugin.rs index 53fdec19..09637ac6 100644 --- a/src/birdoids_plugin.rs +++ b/src/birdoids_plugin.rs @@ -445,6 +445,12 @@ mod tests{ ); } + // Separation 0,0 test + #[test] + fn check_separation_zero_zero() { + todo!("Check what happens when a boid is on top of the point it's trying to move away from"); + } + // ********************* // Separation x-axis tests // *********************