mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Device side test library and test runner
This commit is contained in:
committed by
Ivan Grokhotkov
parent
33723a9b52
commit
ab7af89002
21
tests/device/test_umm_malloc/test_umm_malloc.ino
Normal file
21
tests/device/test_umm_malloc/test_umm_malloc.ino
Normal file
@ -0,0 +1,21 @@
|
||||
// test that we can include umm_malloc.h from sketch (#1652)
|
||||
#include <umm_malloc/umm_malloc.h>
|
||||
|
||||
#include <BSTest.h>
|
||||
|
||||
BS_ENV_DECLARE();
|
||||
|
||||
void setup()
|
||||
{
|
||||
Serial.begin(115200);
|
||||
BS_RUN(Serial);
|
||||
}
|
||||
|
||||
TEST_CASE("umm_info can be called", "[umm_malloc]")
|
||||
{
|
||||
umm_info(NULL, 1);
|
||||
}
|
||||
|
||||
void loop()
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user