mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-29 18:27:37 +02:00
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