Files
react-native/ReactCommon/react/renderer/mapbuffer/tests/MapBufferTest.cpp
T
David Vacca 89beefaefb Setup test infra into mapBuffer project
Summary:
Setup test infra into mapBuffer project

changelog: [internal]

Reviewed By: JoshuaGross

Differential Revision: D25733949

fbshipit-source-id: bcfc89d87e28dc5a6ed28bc6b56893aa6f191e71
2021-01-01 15:45:06 -08:00

21 lines
478 B
C++

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <memory>
#include <assert.h>
#include <gtest/gtest.h>
#include <react/renderer/mapbuffer/MapBuffer.h>
using namespace facebook::react;
// Dummy test to create setup of tests
TEST(MapBufferTest, testMapCreation) {
auto buffer = MapBuffer();
assert(buffer.getSize() == 0);
}