mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Stream::send() (#6979)
This commit is contained in:
25
tests/device/test_sw_StreamString/test_sw_StreamString.ino
Normal file
25
tests/device/test_sw_StreamString/test_sw_StreamString.ino
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
#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();
|
||||
}
|
Reference in New Issue
Block a user