From 7c70748770530d3b0b739bb37677c04181b863c5 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Thu, 5 Oct 2023 18:57:11 +0800 Subject: [PATCH] fix: test suites for klotski codec --- src/core/main.cc | 2 +- src/core_test/codec/raw_code.cc | 1 - src/core_test/codec/short_code.cc | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/main.cc b/src/core/main.cc index 5694eed..cbd67cf 100644 --- a/src/core/main.cc +++ b/src/core/main.cc @@ -41,7 +41,7 @@ int main() { auto start = clock(); for (uint32_t short_code = 0; short_code < SHORT_CODE_LIMIT; ++short_code) { - ShortCode::unsafe_create(short_code).to_common_code(true); + ShortCode::unsafe_create(short_code).to_common_code(); } // for (auto common_code : common_codes) { diff --git a/src/core_test/codec/raw_code.cc b/src/core_test/codec/raw_code.cc index b2fe733..71608d9 100644 --- a/src/core_test/codec/raw_code.cc +++ b/src/core_test/codec/raw_code.cc @@ -129,7 +129,6 @@ TEST(RawCode, DISABLED_global_verify) { result.reserve(ALL_CASES_NUM_); for (size_t i = 0; i < futures.size(); ++i) { auto data = futures[i].get(); - std::cout << i << std::endl; result.insert(result.end(), data.begin(), data.end()); // combine sections } pool.wait_for_tasks(); diff --git a/src/core_test/codec/short_code.cc b/src/core_test/codec/short_code.cc index 5f761a9..6f85c37 100644 --- a/src/core_test/codec/short_code.cc +++ b/src/core_test/codec/short_code.cc @@ -209,7 +209,6 @@ TEST(ShortCode, DISABLED_global_verify) { result.reserve(ALL_CASES_NUM_); for (size_t i = 0; i < futures.size(); ++i) { auto data = futures[i].get(); - std::cout << i << std::endl; result.insert(result.end(), data.begin(), data.end()); // combine sections } pool.wait_for_tasks();