forked from bblanchon/ArduinoJson
Added first test on StaticJsonBuffer
This commit is contained in:
8
tests/StaticJsonBufferTests.cpp
Normal file
8
tests/StaticJsonBufferTests.cpp
Normal file
@ -0,0 +1,8 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include <StaticJsonBuffer.h>
|
||||
|
||||
TEST(StaticJsonBufferTests, CapacityMatchTemplateParameter)
|
||||
{
|
||||
StaticJsonBuffer<42> json;
|
||||
EXPECT_EQ(42, json.capacity());
|
||||
}
|
Reference in New Issue
Block a user