LCOV - code coverage report
Current view: top level - bindings/tools - run_unit_tests.py.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 4 6 66.7 %
Date: 2025-04-29 15:56:08 Functions: 1 2 50.0 %

          Line data    Source code
       1             : // SPDX-FileCopyrightText: 2024 Pairinteraction Developers
       2             : // SPDX-License-Identifier: LGPL-3.0-or-later
       3             : 
       4             : #include "./run_unit_tests.py.hpp"
       5             : 
       6             : #include "pairinteraction/tools/run_unit_tests.hpp"
       7             : 
       8             : #include <nanobind/nanobind.h>
       9             : #include <nanobind/stl/filesystem.h>
      10             : 
      11             : namespace nb = nanobind;
      12             : using namespace pairinteraction;
      13             : 
      14           1 : void bind_run_unit_tests(nb::module_ &m) {
      15           1 :     m.def("run_unit_tests",
      16           1 :           [](bool download_missing, bool use_cache, std::filesystem::path database_dir) {
      17           0 :               return run_unit_tests(0, nullptr, download_missing, use_cache,
      18           0 :                                     std::move(database_dir));
      19             :           });
      20           1 : }

Generated by: LCOV version 1.16