test(simulation): expand test coverage per PR #2 review

- Add roundtrip tests for all PlayerAction variants (Hoshe #6)
- Add roundtrip tests for all EntityKind variants (Hoshe #6)
- Add day wraparound at midnight edge case test (Hoshe #7)
- Add day() calculation test (Hoshe #7)
- Add out-of-order input rejection test (Hoshe #7)
- Total: 15 → 20 tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-11 17:53:16 +01:00
co-authored by Claude Opus 4.6
parent 6bda4a7620
commit 112910df9b
2 changed files with 56 additions and 1 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
//! Smoke test: the simulation world boots and can run a single tick.
use bevy_app::prelude::*;
use settled_reach_server::simulation::SimulationPlugin;
use settled_reach_server::simulation::time::SimulationTime;
use settled_reach_server::simulation::SimulationPlugin;
#[test]
fn world_boots_and_ticks() {