diff options
Diffstat (limited to 'crates/fparkan-runtime/src/projectile.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/projectile.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/fparkan-runtime/src/projectile.rs b/crates/fparkan-runtime/src/projectile.rs index 66cdbc8b..dd3a857d 100644 --- a/crates/fparkan-runtime/src/projectile.rs +++ b/crates/fparkan-runtime/src/projectile.rs @@ -738,6 +738,7 @@ mod tests { ) .unwrap(); let plant = handle_by_original_id(&engine.world, OriginalObjectId(5)).unwrap(); + let intact_bounds = crate::cockpit_instruments::instrument_bounds(&engine, 5).unwrap(); let table = engine .loaded .as_mut() @@ -795,6 +796,10 @@ mod tests { .any(|state| state == ((0, 1), Some(1))) ); assert_eq!( + crate::cockpit_instruments::instrument_bounds(&engine, 5), + Some(intact_bounds) + ); + assert_eq!( crate::control_node_provider_row(table, 3) .unwrap() .mesh_state |
