Browse Source

fix: test suites for klotski codec

master
Dnomd343 1 year ago
parent
commit
7c70748770
  1. 2
      src/core/main.cc
  2. 1
      src/core_test/codec/raw_code.cc
  3. 1
      src/core_test/codec/short_code.cc

2
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) {

1
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();

1
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();

Loading…
Cancel
Save