etrobocon2018 feat.KatLab  770af34cce41ae9c30c41303275e1add2daae0c3 (with uncommitted changes)
 全て クラス 名前空間 ファイル 関数 変数 列挙型 列挙値 フレンド マクロ定義 ページ
RightCourseTest.cpp
[詳解]
1 
5 /* コンパイル(平木場)
6 $ g++-7 RightCourseTest.cpp ../src/RightCourse.cpp gtest_main.o gtest-all.o -I../include
7 -I../../googletest/googletest/include
8 */
9 
10 #include "RightCourse.h" // このヘッダファイルのcppファイルをテスト
11 #include "Controller.h"
12 #include <gtest/gtest.h>
13 #include <vector>
14 
15 namespace etrobocon2018_test {
16 
17  class RightCourseTest : public ::testing::Test {
18  protected:
19  virtual void SetUp() {}
21  std::int32_t firstCode = 11111;
23  };
24 
25  // TEST_F(RightCourseTest, runTest) { rc.run(30, 0, 100, 50); }
26 } // namespace etrobocon2018_test
Rコースを走らせるときに呼び出されるクラス