LCOV - code coverage report
Current view: top level - bindings/tools - run_unit_tests.py.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 6 6 100.0 %
Date: 2025-05-02 21:49:55 Functions: 2 2 100.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           2 : void bind_run_unit_tests(nb::module_ &m) {
      15           2 :     m.def("run_unit_tests",
      16           3 :           [](bool download_missing, bool use_cache, std::filesystem::path database_dir) {
      17           2 :               return run_unit_tests(0, nullptr, download_missing, use_cache,
      18           3 :                                     std::move(database_dir));
      19             :           });
      20           2 : }

Generated by: LCOV version 1.16