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
This commit is contained in:
David Vacca
2021-01-01 15:45:06 -08:00
committed by Facebook GitHub Bot
parent b9ad5a706d
commit 89beefaefb
4 changed files with 16 additions and 3 deletions
@@ -7,8 +7,14 @@
#include <memory>
#include <assert.h>
#include <gtest/gtest.h>
#include <react/renderer/mapbuffer/MapBuffer.h>
TEST(MapBufferTest, testSomething) {
// TODO
using namespace facebook::react;
// Dummy test to create setup of tests
TEST(MapBufferTest, testMapCreation) {
auto buffer = MapBuffer();
assert(buffer.getSize() == 0);
}