5d-diplomacy-with-multiverse-time-travel
5d-diplomacy-with-multiverse-time-travel copied to clipboard
Create unit tests for error scenarios encountered during development
In case there are future refactors of the adjudicator, we ideally need MDATC tests covering the following scenarios:
- Retreats to different coasts of the same region (bd3e36e469d40ba2e73363d436d4264ae5358b8e).
- Disbands in parent regions of coasts (e9e71207f9378f9fd5c110bd053109e85cafb4fd).
- Support hold of parent region in the past (1a9c9522267cddaabacdf538d46e77e61fde962e).
- Supports failing if targeting a unit of the same player when that unit moves away successfully (369b039a438081739922443848ce44b75a04176a).
- Dislodged units having too much prevent strength (05ac113a4ae92640424ed493f84b697342c541c4).
- Failed builds succeeding if concurrent with a retreat (fcf765bcd4eb157de993f0b2140fbca9473060e3).
- Lots of retreat bugs and crashes (8ed862d69fafbfb2338be781efd63ca1ad53f36b).
- Fleets supporting armies into territories with two coasts (1752f930893802529596f3020bc48ea84dd59b59).
- Convoys to regions with coasts failing (0504ea75fa2c1d3bcec3d4b182069ae6e17698ab).
- Failed moves to the past creating timelines if traversing a winter board (396ed8ac7375d27dca49a8c18f7ac86c1a36b5f3).
- Missing builds (071f94c945be366d9fce97dfb1eeafaa327aef75).
- Units able to retreat twice (d37f04b6cf3a62c2d77f0bc2205f0d52f145adff).
- Crash due to duplicate built units (c362295a9ca7c510782bedae80271ff008292768). This is the one that crashed the first play test.
- Retreats throwing errors due to multiple references to one unit (c739cd692b394014040f0d6123d3625e7d0d9941).
- Incorrect adjudication for supporting moves against self (eb3410bea9481a21ccdb27134965c04cd07f9086).