From 2d0b1248b23c9eb931c013a35daec62c48ee293f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 19 May 2022 13:53:53 -0600 Subject: [PATCH] [test-map] Test hb_set_t hash stability Fails currently. --- src/test-map.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test-map.cc b/src/test-map.cc index 943f0c5f8..721edefe3 100644 --- a/src/test-map.cc +++ b/src/test-map.cc @@ -188,15 +188,15 @@ main (int argc, char **argv) m1.set (hb_set_t (), hb_set_t {1}); m2.set (hb_set_t (), hb_set_t {1}); - m1.set (hb_set_t {1}, hb_set_t {2}); - m2.set (hb_set_t {1}, hb_set_t {2}); + m1.set (hb_set_t {1, 1000}, hb_set_t {2}); + m2.set (hb_set_t {1, 1000}, hb_set_t {2}); /* Cannot override empty set. */ assert (m1.get (hb_set_t ()) == hb_set_t ()); assert (m2.get (hb_set_t ()) == hb_set_t ()); - assert (m1.get (hb_set_t {1}) == hb_set_t {2}); - assert (m2.get (hb_set_t {1}) == hb_set_t {2}); + assert (m1.get (hb_set_t {1000, 1}) == hb_set_t {2}); + assert (m2.get (hb_set_t {1000, 1}) == hb_set_t {2}); } /* Test hashing vectors. */