mirror of https://github.com/dnomd343/klotski.git
Dnomd343
2 years ago
3 changed files with 25 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||
cmake_minimum_required(VERSION 3.0) |
|||
|
|||
include_directories(../src/klotski/all_cases) |
|||
add_executable(test_all_cases all_cases.cc) |
|||
target_link_libraries(test_all_cases all_cases gtest gtest_main) |
|||
add_test(NAME all_cases COMMAND test_all_cases) |
@ -0,0 +1,10 @@ |
|||
#include <cstdint> |
|||
#include "all_cases.h" |
|||
#include "gtest/gtest.h" |
|||
|
|||
const uint32_t BASIC_RANGES_SIZE = 7311921; |
|||
|
|||
TEST(AllCases, basic_ranges_size) { |
|||
auto &basic_ranges = BasicRanges::fetch(); |
|||
EXPECT_EQ(basic_ranges.size(), BASIC_RANGES_SIZE); |
|||
} |
Loading…
Reference in new issue