summaryrefslogtreecommitdiff
path: root/test/core/model
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-15 20:46:21 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-15 20:46:21 +0100
commit6041324a65cfdb878154af68d74aac2c86372440 (patch)
tree1f26db2e91f3614d92e8620caf35e8cc10302f62 /test/core/model
parent4d2878c8b4899104fd4a8877beaf3c8771f0bd2e (diff)
added cardinality type.
Diffstat (limited to 'test/core/model')
-rw-r--r--test/core/model/TypesystemTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/model/TypesystemTest.cpp b/test/core/model/TypesystemTest.cpp
index 9b5872c..ae6f11f 100644
--- a/test/core/model/TypesystemTest.cpp
+++ b/test/core/model/TypesystemTest.cpp
@@ -961,6 +961,7 @@ TEST(Typesystem, rtti)
ASSERT_TRUE(typesystem->composedOf(&RttiTypes::IntType));
ASSERT_TRUE(typesystem->composedOf(&RttiTypes::DoubleType));
ASSERT_TRUE(typesystem->composedOf(&RttiTypes::BoolType));
+ ASSERT_TRUE(typesystem->composedOf(&RttiTypes::CardinalityType));
ASSERT_TRUE(typesystem->composedOf(&RttiTypes::EnumType));
ASSERT_TRUE(typesystem->composedOf(&RttiTypes::StructType));
ASSERT_FALSE(typesystem->composedOf(&RttiTypes::ArrayType));
@@ -982,6 +983,7 @@ TEST(SystemTypesystem, rtti)
ASSERT_TRUE(typesystem->composedOf(&RttiTypes::IntType));
ASSERT_TRUE(typesystem->composedOf(&RttiTypes::DoubleType));
ASSERT_TRUE(typesystem->composedOf(&RttiTypes::BoolType));
+ ASSERT_TRUE(typesystem->composedOf(&RttiTypes::CardinalityType));
ASSERT_TRUE(typesystem->composedOf(&RttiTypes::EnumType));
ASSERT_TRUE(typesystem->composedOf(&RttiTypes::StructType));
ASSERT_FALSE(typesystem->composedOf(&RttiTypes::ArrayType));