Reverted accidental commits

Change-Id: Ieee3600da11df698f1025c85972acd979e486aa0
This commit is contained in:
James Kuszmaul
2014-11-14 15:28:48 -05:00
parent 9be6ee4712
commit f1476be276
19 changed files with 563 additions and 1860 deletions

View File

@@ -1,21 +0,0 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2014. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
/*----------------------------------------------------------------------------*/
#include "WPILib.h"
#include "gtest/gtest.h"
#include "TestBench.h"
TEST(CANTalonTest, QuickTest) {
CANTalon talon(0);
talon.SetControlMode(CANTalon::kPercentVbus);
talon.EnableControl();
talon.Set(1.0);
Wait(0.25);
EXPECT_GT(talon.GetOutputCurrent(), 4.0);
talon.Set(0.0);
talon.Disable();
}