forked from bblanchon/ArduinoJson
8 lines
196 B
C++
8 lines
196 B
C++
![]() |
#include <gtest/gtest.h>
|
||
|
#include <StaticJsonBuffer.h>
|
||
|
|
||
|
TEST(StaticJsonBufferTests, CapacityMatchTemplateParameter)
|
||
|
{
|
||
|
StaticJsonBuffer<42> json;
|
||
|
EXPECT_EQ(42, json.capacity());
|
||
|
}
|