LCOV - code coverage report
Current view: top level - bindings - Info.py.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 6 6 100.0 %
Date: 2025-05-02 21:49:55 Functions: 1 1 100.0 %

          Line data    Source code
       1             : // SPDX-FileCopyrightText: 2025 Pairinteraction Developers
       2             : // SPDX-License-Identifier: LGPL-3.0-or-later
       3             : 
       4             : #include "pairinteraction/Info.hpp"
       5             : 
       6             : #include "./Info.py.hpp"
       7             : 
       8             : #include <nanobind/nanobind.h>
       9             : 
      10             : namespace nb = nanobind;
      11             : using namespace pairinteraction;
      12             : 
      13           2 : void bind_info(nb::module_ &m) {
      14           4 :     nb::class_<Info>(m, "Info")
      15           2 :         .def_ro("has_eigen", &Info::has_eigen)
      16           2 :         .def_ro("has_lapacke_evd", &Info::has_lapacke_evd)
      17           2 :         .def_ro("has_lapacke_evr", &Info::has_lapacke_evr)
      18             :         .def_ro("has_feast", &Info::has_feast);
      19           2 : }

Generated by: LCOV version 1.16