summaryrefslogtreecommitdiff
path: root/Testing/include/modeling/TypeIndexTest.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/TypeIndexTest.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/TypeIndexTest.h')
-rw-r--r--Testing/include/modeling/TypeIndexTest.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/Testing/include/modeling/TypeIndexTest.h b/Testing/include/modeling/TypeIndexTest.h
deleted file mode 100644
index 0a0d6d54..00000000
--- a/Testing/include/modeling/TypeIndexTest.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#pragma once
-#include "modeling\TypeIndex.h"
-
-#include <gtest\gtest.h>
-
-TEST(TypeIndexTest, SingleType)
-{
- size_t index = indexOfType<int, int>();
- ASSERT_EQ(index, 0);
-}
-
-TEST(TypeIndexTest, MultipleTypesFirst)
-{
- size_t index = indexOfType<int, int, std::string, bool>();
- ASSERT_EQ(index, 0);
-}
-
-TEST(TypeIndexTest, MultipleTypesMiddle)
-{
- size_t index = indexOfType<std::string, int, std::string, bool>();
- ASSERT_EQ(index, 1);
-}
-
-TEST(TypeIndexTest, MultipleTypesLast)
-{
- size_t index = indexOfType<bool, int, std::string, bool>();
- ASSERT_EQ(index, 2);
-} \ No newline at end of file