forked from bblanchon/ArduinoJson
22 lines
445 B
C++
22 lines
445 B
C++
![]() |
// Copyright Benoit Blanchon 2014
|
||
|
// MIT License
|
||
|
//
|
||
|
// Arduino JSON library
|
||
|
// https://github.com/bblanchon/ArduinoJson
|
||
|
|
||
|
#include <gtest/gtest.h>
|
||
|
|
||
|
#define protected public
|
||
|
#include <ArduinoJson/DynamicJsonBuffer.hpp>
|
||
|
|
||
|
using namespace ArduinoJson;
|
||
|
|
||
|
class DynamicJsonBuffer_Basic_Tests : public testing::Test {
|
||
|
protected:
|
||
|
DynamicJsonBuffer buffer;
|
||
|
};
|
||
|
|
||
|
TEST_F(DynamicJsonBuffer_Basic_Tests, InitialSizeIsZero) {
|
||
|
ASSERT_EQ(0, buffer.size());
|
||
|
}
|