move bits functions to separate file + fix missing defaults with disabled program_options on windows

This commit is contained in:
2026-03-05 19:13:44 +01:00
parent d4f83e11db
commit 025cbfdf3b
9 changed files with 166 additions and 155 deletions

View File

@ -2,7 +2,7 @@
#include <catch2/catch_template_test_macros.hpp>
#include <cstdint>
#include "util.hpp"
#include "bits.hpp"
// =============================================================================
// Catch2

View File

@ -668,7 +668,7 @@ TEST_CASE("try_move_block_at_fast matches try_move_block_at", "[move]")
uint64_t bm = p3->blocks_bitmap();
for (const direction d : {nor, eas, sou, wes}) {
for (const dir d : {nor, eas, sou, wes}) {
// Block 0 is the first in sorted order
auto slow = p3->try_move_block_at(1, 1, d);
auto fast = p3->try_move_block_at_fast(bm, 0, d);