Economy command tests: a cycle that moves to a lower radius is still a changed membership

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-10-23 06:43:56 +02:00
commit fe7c5226cc

View file

@ -394,6 +394,7 @@ public sealed class EconomyCommandTests
[Theory]
[InlineData("worsen")]
[InlineData("move")]
[InlineData("move-lower")]
[InlineData("grow")]
[InlineData("disjoint")]
public void AHeldUnproductiveCatalogRefusesABatchThatWorsensMovesOrGrowsTheCycle(string how)
@ -405,6 +406,7 @@ public sealed class EconomyCommandTests
{
"worsen" => a => Good(f, a, "loopb", inputs: new[] { ("loopa", 50) }),
"move" => a => { Good(f, a, "loopb"); Good(f, a, "loopz", inputs: new[] { ("loopa", 9) }); Good(f, a, "loopa", inputs: new[] { ("loopz", 1) }); },
"move-lower" => a => { Good(f, a, "loopb"); Good(f, a, "loopz", inputs: new[] { ("loopa", 1) }); Good(f, a, "loopa", inputs: new[] { ("loopz", 1) }); },
"grow" => a => { Good(f, a, "loopy", inputs: new[] { ("loopa", 7) }); Good(f, a, "loopa", inputs: new[] { ("loopb", 1), ("loopy", 7) }); },
_ => a => { Good(f, a, "loopc", inputs: new[] { ("loopd", 5) }); Good(f, a, "loopd", inputs: new[] { ("loopc", 5) }); }
};