From 02bd8acd41d1ed7891100fa0057981e98a0dbdad Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 29 Jun 2016 05:49:53 +0200 Subject: test: Add another test case for signed/unsigned (multiple) integers Apart from testing the actual integer signed vs. unsigned value storage and conversion, this test will check that the binary plist optimization is not re-using existing values. Basically it will test the fix that was introduced with commit acd226d1f71a78dd23b47a9a5c4ca8cf8068d509. --- test/data/signedunsigned.bplist | Bin 0 -> 113 bytes test/data/signedunsigned.plist | 11 +++++++++++ 2 files changed, 11 insertions(+) create mode 100644 test/data/signedunsigned.bplist create mode 100644 test/data/signedunsigned.plist (limited to 'test/data') diff --git a/test/data/signedunsigned.bplist b/test/data/signedunsigned.bplist new file mode 100644 index 0000000..f361063 Binary files /dev/null and b/test/data/signedunsigned.bplist differ diff --git a/test/data/signedunsigned.plist b/test/data/signedunsigned.plist new file mode 100644 index 0000000..2942529 --- /dev/null +++ b/test/data/signedunsigned.plist @@ -0,0 +1,11 @@ + + + + + -1 + 18446744073709551615 + 9223372036854775807 + -9223372036854775808 + 9223372036854775808 + + -- cgit v1.1-32-gdbae