Scale the bottom controls and confirm editable construction plans
This commit is contained in:
1 parent
73a91a066d
commit
2a71ed6242
10 files changed
+438
-133
No files matched your search
+6
-1
@@ -56,7 +56,12 @@ void test_shared_colony_over_loopback() {
|
||||
require(authoritative->production_orders().front().bed_base == BedBase::Stone,
|
||||
"the guest's choice of bed material was lost");
|
||||
require(guest.submit(CommandKind::PlaceBed, {16, 18}, 0), "the guest could not send a conflicting command");
|
||||
pump_until([&] { return guest.take_rejection() == CommandStatus::InvalidTarget; },
|
||||
pump_until([&] {
|
||||
const auto rejected = guest.take_rejection();
|
||||
return rejected && rejected->status == CommandStatus::InvalidTarget &&
|
||||
rejected->kind == CommandKind::PlaceBed && rejected->cell == GridPosition{16, 18} &&
|
||||
rejected->value == 0;
|
||||
},
|
||||
"a conflicting guest command did not return a rejection");
|
||||
require(authoritative->production_orders().size() == 1, "the same cell was claimed twice");
|
||||
|
||||
|
||||
Reference in new issue
Block a user