From d4b6dfc71c68ce3940aa5c2eeacb7b44b03da6d3 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 8 Aug 2024 13:43:02 -0700 Subject: [PATCH] edit sim tests --- src/physics.rs | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/physics.rs b/src/physics.rs index 369ebd1..05b0cb4 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -1816,7 +1816,7 @@ mod test{ let mut physics=PhysicsContext::default(); //load map - let map_file=std::fs::File::open(format!("/run/media/quat/Files/Documents/map-files/verify-scripts/maps/bhop_snfm/{map}.snfm")).unwrap(); + let map_file=std::fs::File::open(format!("/run/media/quat/Files/Documents/map-files/verify-scripts/maps/{map}.snfm")).unwrap(); let map=strafesnet_snf::read_map(map_file).unwrap().into_complete_map().unwrap(); physics.generate_models(&map); @@ -1831,18 +1831,26 @@ mod test{ } #[test] fn simulate_bot_1(){ - simulate("5692113331","ff4940efb50f724e48eb54ce3593d88f") + //arcane + simulate("bhop_snfm/5692113331","ff4940efb50f724e48eb54ce3593d88f") } #[test] fn simulate_bot_2(){ - simulate("5692113331","17cf70412eba16d172a67385cab5727e") - } - #[test] - fn simulate_bot_3(){ - simulate("5692176057","f0fe0dc2fda5f8b59a658e82d26fc69") + simulate("bhop_snfm/5692113331","17cf70412eba16d172a67385cab5727e") } #[test] fn simulate_bot_4(){ - simulate("5692176057","c0631c6f524eebddbf75237cac48e78e") + //brick + simulate("bhop_snfm/5692176057","c0631c6f524eebddbf75237cac48e78e") + } + #[test] + fn simulate_bot_5(){ + //toc + simulate("bhop_snfm/5692152916","1722976199076914659") + } + #[test] + fn simulate_bot_6(){ + //utopia + simulate("surf_snfm/5692145408","1722980796007573431") } }