LCOV - code coverage report
Current view: top level - mtx/test/src - test_mtx.f90 (source / functions) Coverage Total Hit
Test: coverage.info Lines: 83.3 % 12 10
Test Date: 2025-06-06 17:08:43 Functions: 100.0 % 2 2

            Line data    Source code
       1              : ! ***********************************************************************
       2              : !
       3              : !   Copyright (C) 2011-2018  Bill Paxton & The MESA Team
       4              : !
       5              : !   This program is free software: you can redistribute it and/or modify
       6              : !   it under the terms of the GNU Lesser General Public License
       7              : !   as published by the Free Software Foundation,
       8              : !   either version 3 of the License, or (at your option) any later version.
       9              : !
      10              : !   This program is distributed in the hope that it will be useful,
      11              : !   but WITHOUT ANY WARRANTY; without even the implied warranty of
      12              : !   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      13              : !   See the GNU Lesser General Public License for more details.
      14              : !
      15              : !   You should have received a copy of the GNU Lesser General Public License
      16              : !   along with this program. If not, see <https://www.gnu.org/licenses/>.
      17              : !
      18              : ! ***********************************************************************
      19              : 
      20            1 : program test_mtx
      21              : 
      22            1 :    use const_lib, only: const_init
      23              :    use math_lib, only: math_init
      24              :    use mtx_lib
      25              :    use test_mtx_support
      26              :    use test_square
      27              :    use test_block_tri_dble, only: do_test_block_tri_dble
      28              :    use utils_lib, only: mesa_error
      29              : 
      30              :    implicit none
      31              : 
      32              :    character(len=32) :: my_mesa_dir
      33              :    integer :: ierr
      34              : 
      35            1 :    my_mesa_dir = '../..'
      36            1 :    call const_init(my_mesa_dir, ierr)
      37            1 :    if (ierr /= 0) then
      38            0 :       write (*, *) 'const_init failed'
      39            0 :       call mesa_error(__FILE__, __LINE__)
      40              :    end if
      41              : 
      42            1 :    call math_init()
      43              : 
      44            1 :    call do_test_square
      45            1 :    call do_test_block_tri_dble
      46            1 :    call test_format_conversion
      47              : 
      48            1 : end program test_mtx
        

Generated by: LCOV version 2.0-1