1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00
esp8266/tests/device/test_sw_StreamString/test_sw_StreamString.ino
2021-03-14 17:36:20 -07:00

26 lines
379 B
C++

#include <Arduino.h>
#include <BSTest.h>
#define check(what, res1, res2) CHECK(strcmp(res1, res2) == 0)
#include "../../../libraries/esp8266/examples/StreamString/StreamString.ino"
BS_ENV_DECLARE();
bool pretest ()
{
return true;
}
void setup ()
{
Serial.begin(115200);
BS_RUN(Serial);
}
TEST_CASE("StreamString tests", "[StreamString]")
{
testStream();
}