forked from bblanchon/ArduinoJson
Added first test on StaticJsonBuffer
This commit is contained in:
1 parent
60a5d72367
commit
5580adb4a6
8 files changed
+147
-12
No files matched your search
@@ -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