mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
89beefaefb
Summary: Setup test infra into mapBuffer project changelog: [internal] Reviewed By: JoshuaGross Differential Revision: D25733949 fbshipit-source-id: bcfc89d87e28dc5a6ed28bc6b56893aa6f191e71
21 lines
478 B
C++
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);
|
|
}
|