From efd17d033a56e48b7777166c8f65fffadad6da29 Mon Sep 17 00:00:00 2001 From: Isaac Brodsky Date: Wed, 25 May 2022 15:38:35 -0700 Subject: [PATCH 1/3] The file `CMakeTests.txt` is no longer included if `ENABLE_TESTING` is off. --- CHANGELOG.md | 5 + CMakeLists.txt | 4 +- CMakeTests.cmake | 398 +++++++++++++++++++++++------------------------ 3 files changed, 206 insertions(+), 201 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f76f5e9c..d2fbd061b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ The public API of this library consists of the functions declared in file [h3api.h.in](./src/h3lib/include/h3api.h.in). ## [Unreleased] +### Fixed +- Fix polyfill bug when vertex latitude exactly matches cell center. (#603) + +### Changed +- The file `CMakeTests.txt` is no longer included if `ENABLE_TESTING` is off. ## [4.0.0-rc2] - 2022-03-16 ### Breaking changes diff --git a/CMakeLists.txt b/CMakeLists.txt index a7bc8977d..cacb0638c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -455,7 +455,9 @@ if(BUILD_GENERATORS AND ENABLE_REQUIRES_ALL_SYMBOLS) add_h3_executable(mkRandGeoBoundary src/apps/testapps/mkRandGeoBoundary.c ${APP_SOURCE_FILES}) endif() -include(CMakeTests.cmake) +if(H3_IS_ROOT_PROJECT AND BUILD_TESTING) + include(CMakeTests.cmake) +endif() if(BUILD_FUZZERS) add_custom_target(fuzzers) diff --git a/CMakeTests.cmake b/CMakeTests.cmake index 269ede20b..e63e1a46e 100644 --- a/CMakeTests.cmake +++ b/CMakeTests.cmake @@ -14,215 +14,213 @@ # Test code for H3 -if(H3_IS_ROOT_PROJECT AND BUILD_TESTING) - option(BUILD_ALLOC_TESTS "Build tests for custom allocation functions" ON) - option(PRINT_TEST_FILES "Print which test files correspond to which tests" OFF) +option(BUILD_ALLOC_TESTS "Build tests for custom allocation functions" ON) +option(PRINT_TEST_FILES "Print which test files correspond to which tests" OFF) + +include(TestWrapValgrind) + +enable_testing() + +# Macros and support code needed to build and add the tests +set(test_number 0) + +if(ENABLE_COVERAGE) + file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/$/scripts/coverage.sh" + INPUT "${CMAKE_CURRENT_SOURCE_DIR}/scripts/coverage.sh.in") + set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "coverage.info") + set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "coverage.cleaned.info") + set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "coverage") + add_custom_target(coverage + COMMAND bash "${CMAKE_CURRENT_BINARY_DIR}/$/scripts/coverage.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}") + add_custom_target(clean-coverage + # Before running coverage, clear all counters + COMMAND lcov --rc lcov_branch_coverage=1 --directory '${CMAKE_CURRENT_BINARY_DIR}' --zerocounters + COMMENT "Zeroing counters" + ) +endif() - include(TestWrapValgrind) +macro(add_h3_memory_test name srcfile) + # Like other test code, but these need to be linked against + # a different copy of the H3 library which has known intercepted + # allocator functions. + add_executable(${ARGV} ${APP_SOURCE_FILES} ${TEST_APP_SOURCE_FILES}) + + if(TARGET ${name}) + target_link_libraries(${name} PUBLIC h3WithTestAllocators) + target_include_directories(${name} PUBLIC + $) + target_compile_options(${name} PRIVATE ${H3_COMPILE_FLAGS}) + target_link_libraries(${name} PRIVATE ${H3_LINK_FLAGS}) + endif() - enable_testing() + math(EXPR test_number "${test_number}+1") - # Macros and support code needed to build and add the tests - set(test_number 0) + add_test(NAME ${name}_test${test_number} COMMAND ${TEST_WRAPPER} "$") if(ENABLE_COVERAGE) - file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/$/scripts/coverage.sh" - INPUT "${CMAKE_CURRENT_SOURCE_DIR}/scripts/coverage.sh.in") - set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "coverage.info") - set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "coverage.cleaned.info") - set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "coverage") - add_custom_target(coverage - COMMAND bash "${CMAKE_CURRENT_BINARY_DIR}/$/scripts/coverage.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}") - add_custom_target(clean-coverage - # Before running coverage, clear all counters - COMMAND lcov --rc lcov_branch_coverage=1 --directory '${CMAKE_CURRENT_BINARY_DIR}' --zerocounters - COMMENT "Zeroing counters" + add_custom_target(${name}_coverage${test_number} + COMMAND ${name} > /dev/null + COMMENT "Running ${name}_coverage${test_number}" ) + + add_dependencies(coverage ${name}_coverage${test_number}) + add_dependencies(${name}_coverage${test_number} clean-coverage) + endif() +endmacro() + +macro(add_h3_test_common name srcfile) + # need to actually make the test target + if(NOT TARGET ${name}) + add_h3_executable(${name} ${srcfile} ${APP_SOURCE_FILES} ${TEST_APP_SOURCE_FILES}) endif() - macro(add_h3_memory_test name srcfile) - # Like other test code, but these need to be linked against - # a different copy of the H3 library which has known intercepted - # allocator functions. - add_executable(${ARGV} ${APP_SOURCE_FILES} ${TEST_APP_SOURCE_FILES}) - - if(TARGET ${name}) - target_link_libraries(${name} PUBLIC h3WithTestAllocators) - target_include_directories(${name} PUBLIC - $) - target_compile_options(${name} PRIVATE ${H3_COMPILE_FLAGS}) - target_link_libraries(${name} PRIVATE ${H3_LINK_FLAGS}) - endif() - - math(EXPR test_number "${test_number}+1") - - add_test(NAME ${name}_test${test_number} COMMAND ${TEST_WRAPPER} "$") - - if(ENABLE_COVERAGE) - add_custom_target(${name}_coverage${test_number} - COMMAND ${name} > /dev/null - COMMENT "Running ${name}_coverage${test_number}" - ) - - add_dependencies(coverage ${name}_coverage${test_number}) - add_dependencies(${name}_coverage${test_number} clean-coverage) - endif() - endmacro() - - macro(add_h3_test_common name srcfile) - # need to actually make the test target - if(NOT TARGET ${name}) - add_h3_executable(${name} ${srcfile} ${APP_SOURCE_FILES} ${TEST_APP_SOURCE_FILES}) - endif() - - math(EXPR test_number "${test_number}+1") - endmacro() - - macro(add_h3_test name srcfile) - add_h3_test_common(${name} ${srcfile}) - add_test(NAME ${name}_test${test_number} COMMAND ${TEST_WRAPPER} "$") - - if(ENABLE_COVERAGE) - add_custom_target(${name}_coverage${test_number} - COMMAND ${name} > /dev/null - COMMENT "Running ${name}_coverage${test_number}" - ) - - add_dependencies(coverage ${name}_coverage${test_number}) - add_dependencies(${name}_coverage${test_number} clean-coverage) - endif() - endmacro() - - macro(add_h3_test_with_file name srcfile argfile) - add_h3_test_common(${name} ${srcfile}) - # add a special command (so we don't need to read the test file from the test program) - set(dump_command "cat") - - add_test(NAME ${name}_test${test_number} - COMMAND ${SHELL} "${dump_command} ${argfile} | ${TEST_WRAPPER_STR} $") - - if(PRINT_TEST_FILES) - message("${name}_test${test_number} - ${argfile}") - endif() - - if(ENABLE_COVERAGE) - add_custom_target(${name}_coverage${test_number} - COMMAND ${name} < ${argfile} > /dev/null - COMMENT "Running ${name}_coverage${test_number}" - ) - - add_dependencies(coverage ${name}_coverage${test_number}) - add_dependencies(${name}_coverage${test_number} clean-coverage) - endif() - endmacro() - - macro(add_h3_cli_test name h3_args expect_string) - add_test(NAME ${name}_test${test_number} - COMMAND ${SHELL} "test \"`$ ${h3_args}`\" = '${expect_string}'") - - if(PRINT_TEST_FILES) - message("${name}_test${test_number} - ${h3_args} - ${expect_string}") - endif() - - # TODO: Build a coverage-enabled variant of the h3 cli app to enable coverage - endmacro() - - macro(add_h3_test_with_arg name srcfile arg) - add_h3_test_common(${name} ${srcfile}) - add_test(NAME ${name}_test${test_number} - COMMAND ${TEST_WRAPPER} $ ${arg} + math(EXPR test_number "${test_number}+1") +endmacro() + +macro(add_h3_test name srcfile) + add_h3_test_common(${name} ${srcfile}) + add_test(NAME ${name}_test${test_number} COMMAND ${TEST_WRAPPER} "$") + + if(ENABLE_COVERAGE) + add_custom_target(${name}_coverage${test_number} + COMMAND ${name} > /dev/null + COMMENT "Running ${name}_coverage${test_number}" ) - if(PRINT_TEST_FILES) - message("${name}_test${test_number} - ${arg}") - endif() - - if(ENABLE_COVERAGE) - add_custom_target(${name}_coverage${test_number} - COMMAND ${name} ${arg} - COMMENT "Running ${name}_coverage${test_number}" - ) - - add_dependencies(coverage ${name}_coverage${test_number}) - add_dependencies(${name}_coverage${test_number} clean-coverage) - endif() - endmacro() - - # Add each individual test - file(GLOB all_centers tests/inputfiles/bc*centers.txt) - foreach(file ${all_centers}) - add_h3_test_with_file(testLatLngToCell src/apps/testapps/testLatLngToCell.c ${file}) - endforeach() - - file(GLOB all_ic_files tests/inputfiles/res*ic.txt) - foreach(file ${all_ic_files}) - add_h3_test_with_file(testCellToLatLng src/apps/testapps/testCellToLatLng.c ${file}) - endforeach() - - file(GLOB all_centers tests/inputfiles/rand*centers.txt) - foreach(file ${all_centers}) - add_h3_test_with_file(testLatLngToCell src/apps/testapps/testLatLngToCell.c ${file}) - endforeach() - - file(GLOB all_cells tests/inputfiles/*cells.txt) - foreach(file ${all_cells}) - add_h3_test_with_file(testCellToBoundary src/apps/testapps/testCellToBoundary.c ${file}) - endforeach() - - add_h3_test(testCompactCells src/apps/testapps/testCompactCells.c) - add_h3_test(testGridDisk src/apps/testapps/testGridDisk.c) - add_h3_test(testGridRingUnsafe src/apps/testapps/testGridRingUnsafe.c) - add_h3_test(testGridDisksUnsafe src/apps/testapps/testGridDisksUnsafe.c) - add_h3_test(testCellToParent src/apps/testapps/testCellToParent.c) - add_h3_test(testCellToCenterChild src/apps/testapps/testCellToCenterChild.c) - add_h3_test(testCellToChildren src/apps/testapps/testCellToChildren.c) - add_h3_test(testGetIcosahedronFaces src/apps/testapps/testGetIcosahedronFaces.c) - add_h3_test(testCellToChildrenSize src/apps/testapps/testCellToChildrenSize.c) - add_h3_test(testH3Index src/apps/testapps/testH3Index.c) - add_h3_test(testH3Api src/apps/testapps/testH3Api.c) - add_h3_test(testCellsToLinkedMultiPolygon src/apps/testapps/testCellsToLinkedMultiPolygon.c) - add_h3_test(testH3SetToVertexGraph src/apps/testapps/testH3SetToVertexGraph.c) - add_h3_test(testLinkedGeo src/apps/testapps/testLinkedGeo.c) - add_h3_test(testPolygonToCells src/apps/testapps/testPolygonToCells.c) - add_h3_test(testPolygonToCellsReported src/apps/testapps/testPolygonToCellsReported.c) - add_h3_test(testVertexGraph src/apps/testapps/testVertexGraph.c) - add_h3_test(testDirectedEdge src/apps/testapps/testDirectedEdge.c) - add_h3_test(testLatLng src/apps/testapps/testLatLng.c) - add_h3_test(testBBox src/apps/testapps/testBBox.c) - add_h3_test(testVertex src/apps/testapps/testVertex.c) - add_h3_test(testPolygon src/apps/testapps/testPolygon.c) - add_h3_test(testVec2d src/apps/testapps/testVec2d.c) - add_h3_test(testVec3d src/apps/testapps/testVec3d.c) - add_h3_test(testCellToLocalIj src/apps/testapps/testCellToLocalIj.c) - add_h3_test(testGridDistance src/apps/testapps/testGridDistance.c) - add_h3_test(testGridPathCells src/apps/testapps/testGridPathCells.c) - add_h3_test(testH3CellArea src/apps/testapps/testH3CellArea.c) - add_h3_test(testCoordIj src/apps/testapps/testCoordIj.c) - add_h3_test(testCoordIjk src/apps/testapps/testCoordIjk.c) - add_h3_test(testBaseCells src/apps/testapps/testBaseCells.c) - add_h3_test(testPentagonIndexes src/apps/testapps/testPentagonIndexes.c) - add_h3_test(testH3Iterators src/apps/testapps/testH3Iterators.c) - - add_h3_test_with_arg(testH3NeighborRotations src/apps/testapps/testH3NeighborRotations.c 0) - add_h3_test_with_arg(testH3NeighborRotations src/apps/testapps/testH3NeighborRotations.c 1) - add_h3_test_with_arg(testH3NeighborRotations src/apps/testapps/testH3NeighborRotations.c 2) - - # The "Exhaustive" part of the test name is used by the test-fast to exclude these files. - # test-fast exists so that Travis CI can run Valgrind on tests without taking a very long time. - add_h3_test(testDirectedEdgeExhaustive src/apps/testapps/testDirectedEdgeExhaustive.c) - add_h3_test(testVertexExhaustive src/apps/testapps/testVertexExhaustive.c) - add_h3_test(testCellToLocalIjExhaustive src/apps/testapps/testCellToLocalIjExhaustive.c) - add_h3_test(testGridPathCellsExhaustive src/apps/testapps/testGridPathCellsExhaustive.c) - add_h3_test(testGridDistanceExhaustive src/apps/testapps/testGridDistanceExhaustive.c) - add_h3_test(testH3CellAreaExhaustive src/apps/testapps/testH3CellAreaExhaustive.c) - - add_h3_cli_test(testCliCellToLatLng "cellToLatLng -c 8928342e20fffff" "37.5012466151, -122.5003039349") - add_h3_cli_test(testCliLatLngToCell "latLngToCell --lat 20 --lng 123 -r 2" "824b9ffffffffff") - - if(BUILD_ALLOC_TESTS) - add_h3_library(h3WithTestAllocators test_prefix_) - - add_h3_memory_test(testH3Memory src/apps/testapps/testH3Memory.c) + + add_dependencies(coverage ${name}_coverage${test_number}) + add_dependencies(${name}_coverage${test_number} clean-coverage) endif() +endmacro() + +macro(add_h3_test_with_file name srcfile argfile) + add_h3_test_common(${name} ${srcfile}) + # add a special command (so we don't need to read the test file from the test program) + set(dump_command "cat") - add_custom_target(test-fast COMMAND ctest -E Exhaustive) + add_test(NAME ${name}_test${test_number} + COMMAND ${SHELL} "${dump_command} ${argfile} | ${TEST_WRAPPER_STR} $") + + if(PRINT_TEST_FILES) + message("${name}_test${test_number} - ${argfile}") + endif() + + if(ENABLE_COVERAGE) + add_custom_target(${name}_coverage${test_number} + COMMAND ${name} < ${argfile} > /dev/null + COMMENT "Running ${name}_coverage${test_number}" + ) + + add_dependencies(coverage ${name}_coverage${test_number}) + add_dependencies(${name}_coverage${test_number} clean-coverage) + endif() +endmacro() + +macro(add_h3_cli_test name h3_args expect_string) + add_test(NAME ${name}_test${test_number} + COMMAND ${SHELL} "test \"`$ ${h3_args}`\" = '${expect_string}'") + + if(PRINT_TEST_FILES) + message("${name}_test${test_number} - ${h3_args} - ${expect_string}") + endif() + + # TODO: Build a coverage-enabled variant of the h3 cli app to enable coverage +endmacro() + +macro(add_h3_test_with_arg name srcfile arg) + add_h3_test_common(${name} ${srcfile}) + add_test(NAME ${name}_test${test_number} + COMMAND ${TEST_WRAPPER} $ ${arg} + ) + if(PRINT_TEST_FILES) + message("${name}_test${test_number} - ${arg}") + endif() + + if(ENABLE_COVERAGE) + add_custom_target(${name}_coverage${test_number} + COMMAND ${name} ${arg} + COMMENT "Running ${name}_coverage${test_number}" + ) + + add_dependencies(coverage ${name}_coverage${test_number}) + add_dependencies(${name}_coverage${test_number} clean-coverage) + endif() +endmacro() + +# Add each individual test +file(GLOB all_centers tests/inputfiles/bc*centers.txt) +foreach(file ${all_centers}) + add_h3_test_with_file(testLatLngToCell src/apps/testapps/testLatLngToCell.c ${file}) +endforeach() + +file(GLOB all_ic_files tests/inputfiles/res*ic.txt) +foreach(file ${all_ic_files}) + add_h3_test_with_file(testCellToLatLng src/apps/testapps/testCellToLatLng.c ${file}) +endforeach() + +file(GLOB all_centers tests/inputfiles/rand*centers.txt) +foreach(file ${all_centers}) + add_h3_test_with_file(testLatLngToCell src/apps/testapps/testLatLngToCell.c ${file}) +endforeach() + +file(GLOB all_cells tests/inputfiles/*cells.txt) +foreach(file ${all_cells}) + add_h3_test_with_file(testCellToBoundary src/apps/testapps/testCellToBoundary.c ${file}) +endforeach() + +add_h3_test(testCompactCells src/apps/testapps/testCompactCells.c) +add_h3_test(testGridDisk src/apps/testapps/testGridDisk.c) +add_h3_test(testGridRingUnsafe src/apps/testapps/testGridRingUnsafe.c) +add_h3_test(testGridDisksUnsafe src/apps/testapps/testGridDisksUnsafe.c) +add_h3_test(testCellToParent src/apps/testapps/testCellToParent.c) +add_h3_test(testCellToCenterChild src/apps/testapps/testCellToCenterChild.c) +add_h3_test(testCellToChildren src/apps/testapps/testCellToChildren.c) +add_h3_test(testGetIcosahedronFaces src/apps/testapps/testGetIcosahedronFaces.c) +add_h3_test(testCellToChildrenSize src/apps/testapps/testCellToChildrenSize.c) +add_h3_test(testH3Index src/apps/testapps/testH3Index.c) +add_h3_test(testH3Api src/apps/testapps/testH3Api.c) +add_h3_test(testCellsToLinkedMultiPolygon src/apps/testapps/testCellsToLinkedMultiPolygon.c) +add_h3_test(testH3SetToVertexGraph src/apps/testapps/testH3SetToVertexGraph.c) +add_h3_test(testLinkedGeo src/apps/testapps/testLinkedGeo.c) +add_h3_test(testPolygonToCells src/apps/testapps/testPolygonToCells.c) +add_h3_test(testPolygonToCellsReported src/apps/testapps/testPolygonToCellsReported.c) +add_h3_test(testVertexGraph src/apps/testapps/testVertexGraph.c) +add_h3_test(testDirectedEdge src/apps/testapps/testDirectedEdge.c) +add_h3_test(testLatLng src/apps/testapps/testLatLng.c) +add_h3_test(testBBox src/apps/testapps/testBBox.c) +add_h3_test(testVertex src/apps/testapps/testVertex.c) +add_h3_test(testPolygon src/apps/testapps/testPolygon.c) +add_h3_test(testVec2d src/apps/testapps/testVec2d.c) +add_h3_test(testVec3d src/apps/testapps/testVec3d.c) +add_h3_test(testCellToLocalIj src/apps/testapps/testCellToLocalIj.c) +add_h3_test(testGridDistance src/apps/testapps/testGridDistance.c) +add_h3_test(testGridPathCells src/apps/testapps/testGridPathCells.c) +add_h3_test(testH3CellArea src/apps/testapps/testH3CellArea.c) +add_h3_test(testCoordIj src/apps/testapps/testCoordIj.c) +add_h3_test(testCoordIjk src/apps/testapps/testCoordIjk.c) +add_h3_test(testBaseCells src/apps/testapps/testBaseCells.c) +add_h3_test(testPentagonIndexes src/apps/testapps/testPentagonIndexes.c) +add_h3_test(testH3Iterators src/apps/testapps/testH3Iterators.c) + +add_h3_test_with_arg(testH3NeighborRotations src/apps/testapps/testH3NeighborRotations.c 0) +add_h3_test_with_arg(testH3NeighborRotations src/apps/testapps/testH3NeighborRotations.c 1) +add_h3_test_with_arg(testH3NeighborRotations src/apps/testapps/testH3NeighborRotations.c 2) + +# The "Exhaustive" part of the test name is used by the test-fast to exclude these files. +# test-fast exists so that Travis CI can run Valgrind on tests without taking a very long time. +add_h3_test(testDirectedEdgeExhaustive src/apps/testapps/testDirectedEdgeExhaustive.c) +add_h3_test(testVertexExhaustive src/apps/testapps/testVertexExhaustive.c) +add_h3_test(testCellToLocalIjExhaustive src/apps/testapps/testCellToLocalIjExhaustive.c) +add_h3_test(testGridPathCellsExhaustive src/apps/testapps/testGridPathCellsExhaustive.c) +add_h3_test(testGridDistanceExhaustive src/apps/testapps/testGridDistanceExhaustive.c) +add_h3_test(testH3CellAreaExhaustive src/apps/testapps/testH3CellAreaExhaustive.c) + +add_h3_cli_test(testCliCellToLatLng "cellToLatLng -c 8928342e20fffff" "37.5012466151, -122.5003039349") +add_h3_cli_test(testCliLatLngToCell "latLngToCell --lat 20 --lng 123 -r 2" "824b9ffffffffff") + +if(BUILD_ALLOC_TESTS) + add_h3_library(h3WithTestAllocators test_prefix_) + + add_h3_memory_test(testH3Memory src/apps/testapps/testH3Memory.c) endif() + +add_custom_target(test-fast COMMAND ctest -E Exhaustive) From a9f27f91490423a2595d18678627d935f4832289 Mon Sep 17 00:00:00 2001 From: Isaac Brodsky Date: Wed, 25 May 2022 15:41:01 -0700 Subject: [PATCH 2/3] Add PR number --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2fbd061b..311523632 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ The public API of this library consists of the functions declared in file - Fix polyfill bug when vertex latitude exactly matches cell center. (#603) ### Changed -- The file `CMakeTests.txt` is no longer included if `ENABLE_TESTING` is off. +- The file `CMakeTests.txt` is no longer included if `ENABLE_TESTING` is off. (#609) ## [4.0.0-rc2] - 2022-03-16 ### Breaking changes From 175a03cf9316d9b3cbc1175013870d9240705de3 Mon Sep 17 00:00:00 2001 From: Isaac Brodsky Date: Wed, 25 May 2022 17:32:53 -0700 Subject: [PATCH 3/3] fix file name in changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 311523632..bb690c565 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ The public API of this library consists of the functions declared in file - Fix polyfill bug when vertex latitude exactly matches cell center. (#603) ### Changed -- The file `CMakeTests.txt` is no longer included if `ENABLE_TESTING` is off. (#609) +- The file `CMakeTests.cmake` is no longer included if `ENABLE_TESTING` is off. (#609) ## [4.0.0-rc2] - 2022-03-16 ### Breaking changes