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:
Tyler Veness
2016-05-20 17:30:37 -07:00
committed by Peter Johnson
parent 68690643d2
commit e14e45da76
383 changed files with 13787 additions and 13198 deletions

View File

@@ -5,20 +5,20 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "Relay.h"
#include <DigitalInput.h>
#include <Relay.h>
#include <Timer.h>
#include "gtest/gtest.h"
#include "TestBench.h"
#include "Relay.h"
#include "gtest/gtest.h"
static const double kDelayTime = 0.01;
class RelayTest : public testing::Test {
protected:
Relay *m_relay;
DigitalInput *m_forward;
DigitalInput *m_reverse;
Relay* m_relay;
DigitalInput* m_forward;
DigitalInput* m_reverse;
virtual void SetUp() override {
m_relay = new Relay(TestBench::kRelayChannel);