File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed
Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 44 * @author takahashitom
55 */
66
7- // #include "app.h"
7+ #include " app.h"
88#include < iostream>
99#include " EtRobocon2025.h"
1010
1111// メインタスク
12- void main_task (intptr_t unused)
13-
14- {
12+ void main_task (intptr_t unused){
1513 std::cout << " Hello ETROBO!" << std::endl;
1614 EtRobocon2025::start ();
1715 ext_tsk ();
Original file line number Diff line number Diff line change 88
99void EtRobocon2025::start ()
1010{
11- std::cout << " Hello KATLA " << std::endl;
11+ std::cout << " Hello KATLAB " << std::endl;
1212}
Original file line number Diff line number Diff line change 1010
1111using namespace std ;
1212
13- namespace etrobocon2025_test {
13+ namespace etrobocon2025_test
14+ {
1415 // start関数が最終的に標準出力に"Hello KATLAB"を出力することを確認するテスト
1516 TEST (EtRobocon2025Test, Start)
1617 {
Original file line number Diff line number Diff line change 77#include " OStreamCapture.h"
88
99OStreamCapture::OStreamCapture (ostream& _targetStream)
10- : targetStream(_targetStream), originalBuf(_targetStream.rdbuf())
11- {
10+ : targetStream(_targetStream), originalBuf(_targetStream.rdbuf()){
1211 targetStream.rdbuf (buffer.rdbuf ());
1312}
1413
You can’t perform that action at this time.
0 commit comments