summaryrefslogtreecommitdiff
path: root/Testing/include/modeling/RoomTest.h
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2017-07-09 23:48:06 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2017-07-09 23:48:06 +0200
commitc94d0c347fdbd8acc774df4ac17617a3f63e4507 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /Testing/include/modeling/RoomTest.h
parentbc4c41e21a64b444bdbab3b6d1d407fd5d919419 (diff)
Delete old codebase
This change removes version 1 of the OpenDC simulator codebase as it will be replaced by a complete rewrite in the Kotlin language.
Diffstat (limited to 'Testing/include/modeling/RoomTest.h')
-rw-r--r--Testing/include/modeling/RoomTest.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/Testing/include/modeling/RoomTest.h b/Testing/include/modeling/RoomTest.h
deleted file mode 100644
index 6d482e73..00000000
--- a/Testing/include/modeling/RoomTest.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-#include "modeling\Room.h"
-
-#include <gtest\gtest.h>
-
-TEST(RoomTest, ConstructorTest)
-{
- Modeling::Room<int, float, double> room(10);
- ASSERT_EQ(room.id, 10);
-}
-
-TEST(RoomTest, GetSetEntities)
-{
- Modeling::Room<int, float, double> room(10);
-
- int first = 3;
- room.addEntity(first);
-
- double second = 4.0;
- room.addEntity(second);
-
- ASSERT_EQ(room.getEntitiesOfType<int>().at(0), 3);
- ASSERT_EQ(room.getEntitiesOfType<double>().at(0), 4.0);
-}