summaryrefslogtreecommitdiff
path: root/ext/XS-APItest/t/cophh.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/XS-APItest/t/cophh.t')
-rw-r--r--ext/XS-APItest/t/cophh.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/XS-APItest/t/cophh.t b/ext/XS-APItest/t/cophh.t
new file mode 100644
index 0000000000..a3fe49bb9d
--- /dev/null
+++ b/ext/XS-APItest/t/cophh.t
@@ -0,0 +1,18 @@
+use warnings;
+use strict;
+use Test::More tests => 2;
+
+use XS::APItest;
+
+XS::APItest::test_cophh();
+ok 1;
+
+is_deeply XS::APItest::example_cophh_2hv(), {
+ "foo_1" => 111,
+ "foo_\x{aa}" => 123,
+ "foo_\x{bb}" => 456,
+ "foo_\x{cc}" => 789,
+ "foo_\x{666}" => 666,
+};
+
+1;