From a61c702d91d7444ce0bb094ddccc70f72416500b Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 28 Jan 2023 15:07:14 +0100 Subject: Added WebAssembly for C++ implementation of Diff --- tests/Makefile | 3 ++- tests/test-diff.cpp | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 tests/test-diff.cpp (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile index c4109d5..0347210 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -17,7 +17,8 @@ UNITTESTS=test-config.cpp \ test-storage.cpp \ test-compiledsql.cpp \ test-qrcode.cpp \ - test-whiteboard.cpp + test-whiteboard.cpp \ + test-diff.cpp CXXFLAGS+=\ -I/usr/src/googletest/googletest/include \ diff --git a/tests/test-diff.cpp b/tests/test-diff.cpp new file mode 100644 index 0000000..b6b703a --- /dev/null +++ b/tests/test-diff.cpp @@ -0,0 +1,28 @@ +#include + +#include +#include +#include + +#include "libreichwein/file.h" + +#include "diff.h" + +namespace fs = std::filesystem; +using namespace Reichwein; + +class DiffTest: public ::testing::Test +{ +protected: + DiffTest(){ + } + + ~DiffTest(){ + } +}; + +TEST_F(DiffTest, constructor) +{ + Diff diff{}; +} + -- cgit v1.2.3