summaryrefslogtreecommitdiff
path: root/modules/codec/tests
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-01-22 19:05:23 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-01-22 19:06:03 +0100
commit2dd333c909748e7e735be3e302c8e7a0993bbbec (patch)
tree638da8607f01d5855d4550a11a75c15fa3f2c602 /modules/codec/tests
parent4b6e8ee2292d5f78b5568eec5734b702c6cb0a94 (diff)
codec: Adding more hashing cases
Diffstat (limited to 'modules/codec/tests')
-rw-r--r--modules/codec/tests/schema.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/codec/tests/schema.cpp b/modules/codec/tests/schema.cpp
index 71e806d..31c68f2 100644
--- a/modules/codec/tests/schema.cpp
+++ b/modules/codec/tests/schema.cpp
@@ -44,6 +44,10 @@ struct schema_hash_test_multi {
namespace schema {
using namespace saw::schema;
+
+using HashIface = Interface<
+ Member<Function<Tuple<UInt16>, UInt32>, "foo">
+>;
}
SAW_TEST("Schema Hashes"){
@@ -62,7 +66,8 @@ SAW_TEST("Schema Hashes"){
schema_test_pair<schema::SignedInteger, 2923333106>,
schema_test_pair<schema::UnsignedInteger, 3300532028>,
schema_test_pair<schema::FloatingPoint, 1860828258>,
- schema_test_pair<schema::String, 1669061438>
+ schema_test_pair<schema::String, 1669061438>,
+ schema_test_pair<schema::HashIface, 3365712860>
>::check();
}
}