mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +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 <AnalogOutput.h>
|
||||
#include <AnalogPotentiometer.h>
|
||||
#include <Timer.h>
|
||||
#include <ControllerPower.h>
|
||||
#include <Timer.h>
|
||||
#include "TestBench.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
@@ -17,8 +17,8 @@ static const double kAngle = 180.0;
|
||||
|
||||
class AnalogPotentiometerTest : public testing::Test {
|
||||
protected:
|
||||
AnalogOutput *m_fakePot;
|
||||
AnalogPotentiometer *m_pot;
|
||||
AnalogOutput* m_fakePot;
|
||||
AnalogPotentiometer* m_pot;
|
||||
|
||||
virtual void SetUp() override {
|
||||
m_fakePot = new AnalogOutput(TestBench::kAnalogOutputChannel);
|
||||
|
||||
Reference in New Issue
Block a user