From c36a5678a435f2af57b25315be14a3eb84d53114 Mon Sep 17 00:00:00 2001 From: Corey Applegate Date: Mon, 23 Dec 2024 10:40:08 -0600 Subject: [PATCH] Set EStop for all alliance stations in arena match flow test --- field/arena_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/field/arena_test.go b/field/arena_test.go index 05cba46f..982a45b6 100644 --- a/field/arena_test.go +++ b/field/arena_test.go @@ -112,6 +112,12 @@ func TestArenaMatchFlow(t *testing.T) { arena.Update() assert.Equal(t, lastPacketCount+1, arena.AllianceStations["B3"].DsConn.packetCount) + arena.AllianceStations["A1"].EStop = true + arena.AllianceStations["A2"].EStop = true + arena.AllianceStations["A3"].EStop = true + arena.AllianceStations["B1"].EStop = true + arena.AllianceStations["B2"].EStop = true + arena.AllianceStations["B3"].EStop = true // Check match start, autonomous and transition to teleop. arena.AllianceStations["R1"].Bypass = true arena.AllianceStations["R2"].Bypass = true