summaryrefslogtreecommitdiff
path: root/Testing/include/modeling/EntityTest.h
diff options
context:
space:
mode:
authorMDBijman <matthijs@bijman.org>2017-01-24 12:15:26 +0100
committerMDBijman <matthijs@bijman.org>2017-01-24 12:15:26 +0100
commit070ce923574dcc57435cb3fb2dfe86b6a38cd249 (patch)
treeffd69a842ac4ad22aaf7161f923b9f0b47c7147a /Testing/include/modeling/EntityTest.h
Initial code commit with organized dependencies
Diffstat (limited to 'Testing/include/modeling/EntityTest.h')
-rw-r--r--Testing/include/modeling/EntityTest.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Testing/include/modeling/EntityTest.h b/Testing/include/modeling/EntityTest.h
new file mode 100644
index 00000000..ff7293ff
--- /dev/null
+++ b/Testing/include/modeling/EntityTest.h
@@ -0,0 +1,10 @@
+#pragma once
+#include "modeling\Entity.h"
+
+#include <gtest\gtest.h>
+
+TEST(EntityTest, Constructor)
+{
+ Modeling::Entity e(10);
+ ASSERT_EQ(e.id, 10);
+} \ No newline at end of file