commit | 5266ca86b633b84850492b7982334fb63271ccbc | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Wed May 15 17:59:00 2019 -0700 |
committer | Behdad Esfahbod <[email protected]> | Wed May 15 17:59:00 2019 -0700 |
tree | 1ff8e8001545cfd0133d0bd7bac28af47fb4650a | |
parent | 5da8a3a90db5e5ccaaf68de2ac312108af911821 [diff] |
Fix tests Oops.
diff --git a/src/test-algs.cc b/src/test-algs.cc index 774414a..cef2b51 100644 --- a/src/test-algs.cc +++ b/src/test-algs.cc
@@ -62,13 +62,13 @@ A a; hb_invoke (&A::a, a); - assert (1 == hb_min (3, 8, 1, 2)); - assert (8 == hb_max (3, 8, 1, 2)); + assert (1 == hb_min (8, 1)); + assert (8 == hb_max (8, 1)); int x = 1, y = 2; hb_min (x, 3); - hb_min (3, x, 4); - hb_min (3, x, 4 + 3); + hb_min (3, x); + hb_min (x, 4 + 3); int &z = hb_min (x, y); z = 3; assert (x == 3);