From 33b6a8b924c8ce70f2dd934989a8ace20b8b7180 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Thu, 3 Sep 2020 14:26:50 -0700 Subject: [PATCH] u3: ports (formerly) failing jam test case from ur_tests --- pkg/urbit/tests/jam_tests.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/urbit/tests/jam_tests.c b/pkg/urbit/tests/jam_tests.c index da8fc914ae..41e5d767b2 100644 --- a/pkg/urbit/tests/jam_tests.c +++ b/pkg/urbit/tests/jam_tests.c @@ -493,6 +493,12 @@ _test_jam_roundtrip(void) TEST_CASE("wide", u3i_bytes(sizeof(inp_y), inp_y)); } + { + c3_y inp_y[16] = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc, 0xa8, 0xab, 0x60, 0xef, 0x2d, 0xd, 0x0, 0x0, 0x80 }; + c3_y res_y[19] = { 0x0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x18, 0x50, 0x57, 0xc1, 0xde, 0x5b, 0x1a, 0x0, 0x0, 0x0, 0x1 }; + TEST_CASE("date", u3i_bytes(sizeof(inp_y), inp_y)); + } + return ret_i; }