mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Add format script which invokes clang-format on the C++ source code (#41)
On Windows machines, clang-format.exe must be in the PATH environment variable.
This commit is contained in:
committed by
Peter Johnson
parent
68690643d2
commit
e14e45da76
@@ -7,8 +7,8 @@
|
||||
|
||||
#include <CANTalon.h>
|
||||
#include <Timer.h>
|
||||
#include "gtest/gtest.h"
|
||||
#include "TestBench.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
const int deviceId = 0;
|
||||
|
||||
@@ -71,6 +71,6 @@ TEST(CANTalonTest, DISABLED_PositionModeWorks) {
|
||||
|
||||
TEST(CANTalonTest, GetFaults) {
|
||||
CANTalon talon(deviceId);
|
||||
EXPECT_EQ(talon.GetFaults(),0);
|
||||
EXPECT_EQ(talon.GetStickyFaults(),0);
|
||||
EXPECT_EQ(talon.GetFaults(), 0);
|
||||
EXPECT_EQ(talon.GetStickyFaults(), 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user