From ce1c8111aaf2e7c01e607ea78c6742c5c7a17302 Mon Sep 17 00:00:00 2001 From: colinyoyo26 Date: Sun, 27 Sep 2020 18:19:10 +0800 Subject: [PATCH] Improve the test of trace-05 Check the pointer to tail would be set correctly after `sort` if we use it to support O(1) `it`. --- traces/trace-05-ops.cmd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/traces/trace-05-ops.cmd b/traces/trace-05-ops.cmd index 855959503..19085e920 100644 --- a/traces/trace-05-ops.cmd +++ b/traces/trace-05-ops.cmd @@ -15,10 +15,14 @@ rh dolphin reverse size sort +it fish +reverse +rh fish +rh meerkat +reverse rh bear rh bear rh gerbil rh gerbil -rh meerkat size free