Open NanocTheBuilder opened 6 years ago
Original comment by Péter Balázs (Bitbucket: thilian, GitHub: Unknown)
fix #39, re #32 : scenario4 build colony defense tests
Original comment by Péter Balázs (Bitbucket: thilian, GitHub: Unknown)
re #32 : the buildHomeDefense test
Original comment by Péter Balázs (Bitbucket: thilian, GitHub: Unknown)
re #32 : the second 3 testcase
Original comment by Péter Balázs (Bitbucket: thilian, GitHub: Unknown)
re #32 : launchRegularFleetThenBuildLargest
Original comment by Péter Balázs (Bitbucket: thilian, GitHub: Unknown)
Issue #24 was marked as a duplicate of this issue.
Originally reported by Péter Balázs (Bitbucket: thilian, GitHub: Unknown)
The following should be tested through AlienPlayer public methods. Check CPs spent, Technologies bought, and groups built. Check the number of econ rolls, sometimes with extra econ roll:
:white_check_mark: Launch a regular fleet, then build it with largest fleet selected.
:white_check_mark: Launch a regular fleet, then build it with balanced fleet selected. Has PD and seen Fighters.
:white_check_mark: Launch a regular fleet, then build it with largest ships selected.
:white_check_mark: Launch a carrier fleet (start with fighter tech 1, not seen PD). Then build it with largest fleet selected.
:white_check_mark: Launch a carrier fleet (start with fighter tech2, seen PD but roll full carriers). Then build it with balanced fleet selected.
:white_check_mark: Launch a carrier fleet (start with figher tech 0, not seen PD). Then build it with largest ships selected. Has PD and seen Fighters.
Don't launch carrier fleet (no -2)
:white_check_mark: Launch a regular fleet. Then, during buildFleet, build a raider fleet.
:white_check_mark: Launch a raider fleet. Then buy technology for it.
:white_check_mark: Build home defense. This covers the next two items
~~Build home defense. Check that no raider fleet is built. Check that MineSweep is not available.~~
Do the same firstCombat test as before, and check that raider fleet IS built, and MineSweep IS available.======
For Scenario4Player, in addition to the above, test the following:
======
For VpPlayer, similar tests. Checking that the number of econ rolls is based on the number of colonies:
Launch an expansion fleet, then build it with largest fleet selected.
Launch an extermination fleet, then build it with balanced fleet selected.
Launch an expansion fleet, then build it with largest ships selected.
Launch an extermination carrier fleet. Then build it with largest fleet selected.
Launch an expansion carrier fleet. Then build it with balanced fleet selected.
Launch an extermination carrier fleet. Then build it with largest ships selected.
Launch an expansion fleet. Then, during buildFleet, build a raider fleet.
Launch an extermination fleet. Then, during buildFleet, build a raider fleet.
Launch a raider fleet. Then buy technology for it.
Build home defense.
Build home defense. Check that no raider fleet is built. Check that MineSweep is not available.
Build colonyDefense with a base and ground combat 1.
Build colonyDefense with 2 mines and ground combat 2.