From 2c7093ed01f417828d5521d983eae63042363197 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 7 May 2019 23:10:59 -0700 Subject: [PATCH] More tests --- src/test-algs.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test-algs.cc b/src/test-algs.cc index 0a8fcbff7..d6f34d707 100644 --- a/src/test-algs.cc +++ b/src/test-algs.cc @@ -66,6 +66,9 @@ main (int argc, char **argv) assert (8 == hb_max (3, 8, 1, 2)); int x = 1, y = 2; + hb_min (x, 3); + hb_min (3, x, 4); + hb_min (3, x, 4 + 3); int &z = hb_min (x, y); z = 3; assert (x == 3);