mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Allowed sharing of common C++ code between RoboRIO and Simulation.
Change-Id: I8bf2bda9df389c13ae0567a62dbf0ca931ceb6f8
This commit is contained in:
committed by
Thomas Clark
parent
b371600f0f
commit
7c8124d76c
@@ -8,10 +8,13 @@
|
||||
#include "WPILib.h"
|
||||
#include "command/MockCommand.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "RobotState.h"
|
||||
#include "DriverStation.h"
|
||||
|
||||
class CommandTest : public testing::Test {
|
||||
protected:
|
||||
virtual void SetUp() {
|
||||
RobotState::SetImplementation(DriverStation::GetInstance());
|
||||
Scheduler::GetInstance()->SetEnabled(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user