kopia lustrzana https://github.com/espressif/esp-idf
cxx: add iostreams test
Checks that libstdc++ can use newlib IO functionspull/249/head
rodzic
23448e7121
commit
f04e62e6cc
|
@ -1,6 +1,7 @@
|
|||
#include <functional>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include "unity.h"
|
||||
#include "esp_log.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
|
@ -201,3 +202,9 @@ TEST_CASE("before scheduler has started, static initializers work correctly", "[
|
|||
TEST_ASSERT_EQUAL(1, g_static_init_test3.index);
|
||||
TEST_ASSERT_EQUAL(2, StaticInitTestBeforeScheduler::order);
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("can use iostreams", "[cxx]")
|
||||
{
|
||||
std::cout << "hello world";
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue