public void TestEnabledWhenRoomOpenOrInGameplay(MultiplayerRoomState roomState) { AddStep($"change room to {roomState}", () => MultiplayerClient.ChangeRoomState(roomState)); assertSpectateButtonEnablement(true); }
public void TestDisabledWhenClosed(MultiplayerRoomState roomState) { AddStep($"change room to {roomState}", () => MultiplayerClient.ChangeRoomState(roomState)); assertSpectateButtonEnablement(false); }