From 9e7f4c9d43b310c280cd6432cd4150411f4b914e Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 14 Nov 2020 22:06:10 +0100 Subject: Added system tests --- tests/test-cpp.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/test-cpp.cpp') diff --git a/tests/test-cpp.cpp b/tests/test-cpp.cpp index 39e1513..5755516 100644 --- a/tests/test-cpp.cpp +++ b/tests/test-cpp.cpp @@ -86,6 +86,12 @@ TEST_F(CppTest, compile) { cpp.compile("int main() { return 1 + 2; }"); } +TEST_F(CppTest, compile_1) { + CPP cpp; + + cpp.compile("int main() { return 1; }"); +} + TEST_F(CppTest, compile_2_times) { CPP cpp; -- cgit v1.2.3