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);