https://www.cdslab.org/paramonte/fortran/2
Current view: top level - test - test_pm_matrixMulTri.F90 (source / functions) Hit Total Coverage
Test: ParaMonte 2.0.0 :: Serial Fortran - Code Coverage Report Lines: 12 12 100.0 %
Date: 2024-04-08 03:18:57 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       2             : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       3             : !!!!                                                                                                                            !!!!
       4             : !!!!    ParaMonte: Parallel Monte Carlo and Machine Learning Library.                                                           !!!!
       5             : !!!!                                                                                                                            !!!!
       6             : !!!!    Copyright (C) 2012-present, The Computational Data Science Lab                                                          !!!!
       7             : !!!!                                                                                                                            !!!!
       8             : !!!!    This file is part of the ParaMonte library.                                                                             !!!!
       9             : !!!!                                                                                                                            !!!!
      10             : !!!!    LICENSE                                                                                                                 !!!!
      11             : !!!!                                                                                                                            !!!!
      12             : !!!!       https://github.com/cdslaborg/paramonte/blob/main/LICENSE.md                                                          !!!!
      13             : !!!!                                                                                                                            !!!!
      14             : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      15             : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      16             : 
      17             : !>  \brief This module contains tests of the module [pm_matrixMulTri](@ref pm_matrixMulTri).
      18             : !>
      19             : !>  \fintest
      20             : !>
      21             : !>  \author
      22             : !>  \FatemehBagheri, 12:27 AM Tuesday, February 22, 2022, Dallas, TX
      23             : 
      24             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      25             : 
      26             : module test_pm_matrixMulTri
      27             : 
      28             :     use pm_matrixMulTri
      29             :     use pm_err, only: err_type
      30             :     use pm_test, only: test_type, IK, LK
      31             : 
      32             :     implicit none
      33             : 
      34             :     private
      35             :     public :: setTest
      36             :     type(test_type) :: test
      37             : 
      38             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      39             : 
      40             :     interface
      41             : 
      42             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      43             : 
      44             : #if     CK5_ENABLED
      45             :         module function test_setMatMulTri_CK5() result(assertion); logical(LK) :: assertion; end function
      46             : #endif
      47             : #if     CK4_ENABLED
      48             :         module function test_setMatMulTri_CK4() result(assertion); logical(LK) :: assertion; end function
      49             : #endif
      50             : #if     CK3_ENABLED
      51             :         module function test_setMatMulTri_CK3() result(assertion); logical(LK) :: assertion; end function
      52             : #endif
      53             : #if     CK2_ENABLED
      54             :         module function test_setMatMulTri_CK2() result(assertion); logical(LK) :: assertion; end function
      55             : #endif
      56             : #if     CK1_ENABLED
      57             :         module function test_setMatMulTri_CK1() result(assertion); logical(LK) :: assertion; end function
      58             : #endif
      59             : 
      60             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      61             : 
      62             : #if     RK5_ENABLED
      63             :         module function test_setMatMulTri_RK5() result(assertion); logical(LK) :: assertion; end function
      64             : #endif
      65             : #if     RK4_ENABLED
      66             :         module function test_setMatMulTri_RK4() result(assertion); logical(LK) :: assertion; end function
      67             : #endif
      68             : #if     RK3_ENABLED
      69             :         module function test_setMatMulTri_RK3() result(assertion); logical(LK) :: assertion; end function
      70             : #endif
      71             : #if     RK2_ENABLED
      72             :         module function test_setMatMulTri_RK2() result(assertion); logical(LK) :: assertion; end function
      73             : #endif
      74             : #if     RK1_ENABLED
      75             :         module function test_setMatMulTri_RK1() result(assertion); logical(LK) :: assertion; end function
      76             : #endif
      77             : 
      78             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      79             : 
      80             :     end interface
      81             : 
      82             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      83             : 
      84             : contains
      85             : 
      86             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      87             : 
      88           1 :     subroutine setTest()
      89             : 
      90           1 :         test = test_type(MODULE_NAME)
      91             : 
      92             :         !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      93             : 
      94             : #if     CK5_ENABLED
      95             :         call test%run(test_setMatMulTri_CK5, SK_"test_setMatMulTri_CK5")
      96             : #endif
      97             : #if     CK4_ENABLED
      98           1 :         call test%run(test_setMatMulTri_CK4, SK_"test_setMatMulTri_CK4")
      99             : #endif
     100             : #if     CK3_ENABLED
     101           1 :         call test%run(test_setMatMulTri_CK3, SK_"test_setMatMulTri_CK3")
     102             : #endif
     103             : #if     CK2_ENABLED
     104           1 :         call test%run(test_setMatMulTri_CK2, SK_"test_setMatMulTri_CK2")
     105             : #endif
     106             : #if     CK1_ENABLED
     107           1 :         call test%run(test_setMatMulTri_CK1, SK_"test_setMatMulTri_CK1")
     108             : #endif
     109             : 
     110             :         !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     111             : 
     112             : #if     RK5_ENABLED
     113             :         call test%run(test_setMatMulTri_RK5, SK_"test_setMatMulTri_RK5")
     114             : #endif
     115             : #if     RK4_ENABLED
     116           1 :         call test%run(test_setMatMulTri_RK4, SK_"test_setMatMulTri_RK4")
     117             : #endif
     118             : #if     RK3_ENABLED
     119           1 :         call test%run(test_setMatMulTri_RK3, SK_"test_setMatMulTri_RK3")
     120             : #endif
     121             : #if     RK2_ENABLED
     122           1 :         call test%run(test_setMatMulTri_RK2, SK_"test_setMatMulTri_RK2")
     123             : #endif
     124             : #if     RK1_ENABLED
     125           1 :         call test%run(test_setMatMulTri_RK1, SK_"test_setMatMulTri_RK1")
     126             : #endif
     127             : 
     128             :         !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     129           1 :         call test%summarize()
     130             : 
     131           1 :     end subroutine setTest
     132             : 
     133             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     134             : 
     135             : end module test_pm_matrixMulTri

ParaMonte: Parallel Monte Carlo and Machine Learning Library 
The Computational Data Science Lab
© Copyright 2012 - 2024