From 21544cbb47003cdb01310e871ebfaf007743aa07 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Fri, 5 Jun 2026 15:05:40 +0200 Subject: [PATCH] =?UTF-8?q?test(simulation):=20assert=20"mixed"=20faction?= =?UTF-8?q?=20=E2=86=92=20ContestedZone=20(#956)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #152 review (Hoshe): the faction→TerritorialStatus mapping test covered 7 of the 8 D-237 values; add the missing "mixed" assertion (grouped with "disputed", behavior already correct). Co-Authored-By: Claude Opus 4.8 (1M context) --- server/src/atlas/attractor_matching.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/src/atlas/attractor_matching.rs b/server/src/atlas/attractor_matching.rs index c8d62f78a..34d61a7c8 100644 --- a/server/src/atlas/attractor_matching.rs +++ b/server/src/atlas/attractor_matching.rs @@ -877,6 +877,10 @@ mod tests { territorial_status_from_faction(Some("disputed")), TerritorialStatus::ContestedZone ); + assert_eq!( + territorial_status_from_faction(Some("mixed")), + TerritorialStatus::ContestedZone + ); assert_eq!( territorial_status_from_faction(None), TerritorialStatus::FrontierUnclaimed