test mercenary recruitment boundaries
This commit is contained in:
@@ -1597,6 +1597,41 @@ const militaryPreparationBoundaryCases: MilitaryPreparationBoundaryCase[] = [
|
||||
args: { crewType: 1100, amount: 100 },
|
||||
completed: true,
|
||||
},
|
||||
{
|
||||
name: 'mercenary recruitment rejects one gold below its doubled rounded cost',
|
||||
action: 'che_모병',
|
||||
args: { crewType: 1100, amount: 100 },
|
||||
actorPatch: { gold: 20 },
|
||||
completed: false,
|
||||
},
|
||||
{
|
||||
name: 'mercenary recruitment accepts its exact doubled rounded gold cost',
|
||||
action: 'che_모병',
|
||||
args: { crewType: 1100, amount: 100 },
|
||||
actorPatch: { gold: 21 },
|
||||
completed: true,
|
||||
},
|
||||
{
|
||||
name: 'mercenary recruitment rejects one rice below maintenance plus command cost',
|
||||
action: 'che_모병',
|
||||
args: { crewType: 1100, amount: 100 },
|
||||
actorPatch: { rice: 10 },
|
||||
completed: false,
|
||||
},
|
||||
{
|
||||
name: 'mercenary recruitment accepts exact maintenance plus command cost',
|
||||
action: 'che_모병',
|
||||
args: { crewType: 1100, amount: 100 },
|
||||
actorPatch: { rice: 11 },
|
||||
completed: true,
|
||||
},
|
||||
{
|
||||
name: 'mercenary recruitment clamps the same crew type at leadership capacity',
|
||||
action: 'che_모병',
|
||||
args: { crewType: 1100, amount: 99_999 },
|
||||
fixturePatches: { cities: { 3: { population: 200_000 } } },
|
||||
completed: true,
|
||||
},
|
||||
{
|
||||
name: 'equipment trade rejects an unknown item type',
|
||||
action: 'che_장비매매',
|
||||
|
||||
Reference in New Issue
Block a user