https://www.cdslab.org/paramonte/fortran/2
Current view: top level - test - test_pm_mathFactorial@routines.F90 (source / functions) Hit Total Coverage
Test: ParaMonte 2.0.0 :: Serial Fortran - Code Coverage Report Lines: 9 9 100.0 %
Date: 2024-04-08 03:18:57 Functions: 9 9 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
      18             : !>  This module contains implementations of the tests of the module [pm_mathFactorial](@ref pm_mathFactorial).
      19             : !>
      20             : !>  \fintest
      21             : !>
      22             : !>  \author
      23             : !>  \AmirShahmoradi, Tuesday 2:06 AM, September 21, 2021, Dallas, TX
      24             : 
      25             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      26             : 
      27             : submodule (test_pm_mathFactorial) routines
      28             : 
      29             :     implicit none
      30             : 
      31             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      32             : 
      33             : contains
      34             : 
      35             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      36             : 
      37             : #define getFactorial_ENABLED 1
      38             : 
      39             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      40             : 
      41             : #define getFactorial_IK_ENABLED 1
      42             : 
      43             : #if IK5_ENABLED
      44           1 :     module procedure test_getFactorial_IK5_1
      45             :         use pm_kind, only: IKC => IK5
      46             : #include "test_pm_mathFactorial@routines.inc.F90"
      47             :     end procedure
      48             : #endif
      49             : 
      50             : #if IK4_ENABLED
      51           1 :     module procedure test_getFactorial_IK4_1
      52             :         use pm_kind, only: IKC => IK4
      53             : #include "test_pm_mathFactorial@routines.inc.F90"
      54             :     end procedure
      55             : #endif
      56             : 
      57             : #if IK3_ENABLED
      58           1 :     module procedure test_getFactorial_IK3_1
      59             :         use pm_kind, only: IKC => IK3
      60             : #include "test_pm_mathFactorial@routines.inc.F90"
      61             :     end procedure
      62             : #endif
      63             : 
      64             : #if IK2_ENABLED
      65           1 :     module procedure test_getFactorial_IK2_1
      66             :         use pm_kind, only: IKC => IK2
      67             : #include "test_pm_mathFactorial@routines.inc.F90"
      68             :     end procedure
      69             : #endif
      70             : 
      71             : #if IK1_ENABLED
      72           1 :     module procedure test_getFactorial_IK1_1
      73             :         use pm_kind, only: IKC => IK1
      74             : #include "test_pm_mathFactorial@routines.inc.F90"
      75             :     end procedure
      76             : #endif
      77             : 
      78             : #undef getFactorial_IK_ENABLED
      79             : 
      80             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      81             : 
      82             : #undef getFactorial_ENABLED
      83             : 
      84             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      85             : 
      86             : #define getLogFactorial_ENABLED 1
      87             : 
      88             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      89             : 
      90             : #define getLogFactorial_RK_ENABLED 1
      91             : 
      92             : #if RK5_ENABLED
      93             :     module procedure test_getLogFactorial_RK5_1
      94             :         use pm_kind, only: IK, RK => RK5
      95             : #include "test_pm_mathFactorial@routines.inc.F90"
      96             :     end procedure
      97             : #endif
      98             : 
      99             : #if RK4_ENABLED
     100           1 :     module procedure test_getLogFactorial_RK4_1
     101             :         use pm_kind, only: IK, RK => RK4
     102             : #include "test_pm_mathFactorial@routines.inc.F90"
     103             :     end procedure
     104             : #endif
     105             : 
     106             : #if RK3_ENABLED
     107           1 :     module procedure test_getLogFactorial_RK3_1
     108             :         use pm_kind, only: IK, RK => RK3
     109             : #include "test_pm_mathFactorial@routines.inc.F90"
     110             :     end procedure
     111             : #endif
     112             : 
     113             : #if RK2_ENABLED
     114           1 :     module procedure test_getLogFactorial_RK2_1
     115             :         use pm_kind, only: IK, RK => RK2
     116             : #include "test_pm_mathFactorial@routines.inc.F90"
     117             :     end procedure
     118             : #endif
     119             : 
     120             : #if RK1_ENABLED
     121           1 :     module procedure test_getLogFactorial_RK1_1
     122             :         use pm_kind, only: IK, RK => RK1
     123             : #include "test_pm_mathFactorial@routines.inc.F90"
     124             :     end procedure
     125             : #endif
     126             : 
     127             : #undef getLogFactorial_RK_ENABLED
     128             : 
     129             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     130             : 
     131             : #undef getLogFactorial_ENABLED
     132             : 
     133             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     134             : 
     135             : end submodule routines ! LCOV_EXCL_LINE

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