summaryrefslogtreecommitdiff
path: root/test/format_test.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-04-21 22:21:05 +0200
committerPetr Mrázek <peterix@gmail.com>2020-06-07 21:23:04 +0200
commitd7deea6dac9ca210a4dec273a7e10453492e04b5 (patch)
treecd64d0170695fe72509641045c866330946f05d1 /test/format_test.cpp
parent92f8d57227feb94643378ecf595626c60c0f59b8 (diff)
downloadProject-Tick-d7deea6dac9ca210a4dec273a7e10453492e04b5.tar.gz
Project-Tick-d7deea6dac9ca210a4dec273a7e10453492e04b5.zip
Implement tag 12 (array of 64bit long) and fix tests
Diffstat (limited to 'test/format_test.cpp')
-rw-r--r--test/format_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/format_test.cpp b/test/format_test.cpp
index 8ea4095c90..87f7b21d72 100644
--- a/test/format_test.cpp
+++ b/test/format_test.cpp
@@ -52,6 +52,7 @@ int main()
{"byte array", tag_byte_array{12, 13, 14, 15, 16}},
{"int array", tag_int_array{0x0badc0de, -0x0dedbeef, 0x1badbabe}},
+ {"long array", tag_long_array{0x0badc0de0badc0de, -0x0dedbeef0dedbeef, 0x1badbabe1badbabe}},
{"list (empty)", tag_list::of<tag_byte_array>({})},
{"list (float)", tag_list{2.0f, 1.0f, 0.5f, 0.25f}},