die Dateien um benannt

This commit is contained in:
@Nurullah.Damla 2019-10-19 17:12:14 +02:00
parent 73d58e83af
commit 4abc21c92a
5 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#include "../src/demo.h"
#include "../src/SharedMemory.h"
int main() {
return test();

5
src/SharedMemory.cpp Normal file
View File

@ -0,0 +1,5 @@
#include "SharedMemory.h"
int test() {
return 41;
}

View File

@ -1,5 +0,0 @@
#include "demo.h"
int test() {
return 42;
}

View File

@ -1,5 +1,5 @@
#include <catch2/catch.hpp>
#include "../src/demo.h"
#include "../src/SharedMemory.h"
TEST_CASE("Demo test") {
REQUIRE(test() == 42);