From 0b8a77ada5f002c7a04b4cf18385891562cfb40f Mon Sep 17 00:00:00 2001 From: ebbit1q Date: Fri, 3 Oct 2025 13:38:18 +0200 Subject: [PATCH] fix test --- tests/deck_hash_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/deck_hash_test.cpp b/tests/deck_hash_test.cpp index 0a4e3026d..0c13986c4 100644 --- a/tests/deck_hash_test.cpp +++ b/tests/deck_hash_test.cpp @@ -10,7 +10,8 @@ TEST(DeckHashTest, RepeatTest) DeckList decklist( R"()"); for (int i = 0; i < 1e6; ++i) { // repeat hashing a million times - decklist.updateDeckHash(); + decklist.getDeckHash(); + decklist.refreshDeckHash(); } auto hash = decklist.getDeckHash().toStdString(); ASSERT_EQ(hash, "5cac19qm") << "The hash matches";