From 4abc21c92a47aab7010cff12eb4f00201ea11428 Mon Sep 17 00:00:00 2001 From: "@Nurullah.Damla" Date: Sat, 19 Oct 2019 17:12:14 +0200 Subject: [PATCH] die Dateien um benannt --- main/main.cpp | 2 +- src/SharedMemory.cpp | 5 +++++ src/{demo.h => SharedMemory.h} | 0 src/demo.cpp | 5 ----- test/test_demo.cpp | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 src/SharedMemory.cpp rename src/{demo.h => SharedMemory.h} (100%) delete mode 100644 src/demo.cpp diff --git a/main/main.cpp b/main/main.cpp index 53edc26..8b085d4 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1,4 +1,4 @@ -#include "../src/demo.h" +#include "../src/SharedMemory.h" int main() { return test(); diff --git a/src/SharedMemory.cpp b/src/SharedMemory.cpp new file mode 100644 index 0000000..ec11168 --- /dev/null +++ b/src/SharedMemory.cpp @@ -0,0 +1,5 @@ +#include "SharedMemory.h" + +int test() { + return 41; +} diff --git a/src/demo.h b/src/SharedMemory.h similarity index 100% rename from src/demo.h rename to src/SharedMemory.h diff --git a/src/demo.cpp b/src/demo.cpp deleted file mode 100644 index 1cc01fc..0000000 --- a/src/demo.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include "demo.h" - -int test() { - return 42; -} diff --git a/test/test_demo.cpp b/test/test_demo.cpp index 7cb240e..cc7e234 100644 --- a/test/test_demo.cpp +++ b/test/test_demo.cpp @@ -1,5 +1,5 @@ #include -#include "../src/demo.h" +#include "../src/SharedMemory.h" TEST_CASE("Demo test") { REQUIRE(test() == 42);