Route Advanced Emperor allied auction funding
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
3ba9087405
commit
599af2475d
19 files changed
+883
-35
No files matched your search
@@ -41,8 +41,9 @@ function assertAuctionCosts(f: BureaucratE1AuctionFixture, game: Game): void {
|
||||
function assertAuctionOutcome(f: BureaucratE1AuctionFixture, done: Game, diverted: number): void {
|
||||
assertAuctionCosts(f, done);
|
||||
const donorLeg = f.donor === f.payee ? f.donorShare : 0;
|
||||
const income = f.amount - (f.beforeAction.advanced ? donorLeg : 0) - diverted;
|
||||
assert.equal(seat(done, f.payee).spice,
|
||||
seat(f.beforePledge, f.payee).spice - donorLeg + f.amount - diverted);
|
||||
seat(f.beforePledge, f.payee).spice - donorLeg + income);
|
||||
assert.deepEqual(hand(done, f.payer),
|
||||
[...hand(f.beforeAction, f.payer), f.card, f.beforeAction.deck[0].id]);
|
||||
assert.equal(done.currentAuctionSale, null);
|
||||
|
||||
Reference in new issue
Block a user