https://www.cdslab.org/paramonte/fortran/2
Current view: top level - test - test_pm_mathExp@routines.F90 (source / functions) Hit Total Coverage
Test: ParaMonte 2.0.0 :: Serial Fortran - Code Coverage Report Lines: 18 18 100.0 %
Date: 2024-04-08 03:18:57 Functions: 18 18 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 file contains the implementations of the tests of module [pm_mathExp](@ref pm_mathExp).
      19             : !>
      20             : !>  \fintest
      21             : !>
      22             : !>  \author
      23             : !>  \FatemehBagheri, 12:27 AM Tuesday, February 22, 2022, Dallas, TX
      24             : 
      25             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      26             : 
      27             : submodule (test_pm_mathExp) routines
      28             : 
      29             :     use pm_kind, only: LK
      30             :     use pm_val2str, only: getStr
      31             :     use pm_option, only: getOption
      32             :     use pm_distUnif, only: getUnifRand
      33             :     implicit none
      34             : 
      35             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      36             : 
      37             : contains
      38             : 
      39             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      40             : 
      41             : #define getExpNext_ENABLED 1
      42             : 
      43             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      44             : 
      45             : #define IK_ENABLED 1
      46             : 
      47             : #if IK5_ENABLED
      48           1 :     module procedure test_getExpNext_IK5
      49             :         use pm_kind, only: IKC => IK5
      50             : #include "test_pm_mathExp@routines.inc.F90"
      51             :     end procedure
      52             : #endif
      53             : 
      54             : #if IK4_ENABLED
      55           1 :     module procedure test_getExpNext_IK4
      56             :         use pm_kind, only: IKC => IK4
      57             : #include "test_pm_mathExp@routines.inc.F90"
      58             :     end procedure
      59             : #endif
      60             : 
      61             : #if IK3_ENABLED
      62           1 :     module procedure test_getExpNext_IK3
      63             :         use pm_kind, only: IKC => IK3
      64             : #include "test_pm_mathExp@routines.inc.F90"
      65             :     end procedure
      66             : #endif
      67             : 
      68             : #if IK2_ENABLED
      69           1 :     module procedure test_getExpNext_IK2
      70             :         use pm_kind, only: IKC => IK2
      71             : #include "test_pm_mathExp@routines.inc.F90"
      72             :     end procedure
      73             : #endif
      74             : 
      75             : #if IK1_ENABLED
      76           1 :     module procedure test_getExpNext_IK1
      77             :         use pm_kind, only: IKC => IK1
      78             : #include "test_pm_mathExp@routines.inc.F90"
      79             :     end procedure
      80             : #endif
      81             : 
      82             : #undef IK_ENABLED
      83             : 
      84             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      85             : 
      86             : #define RK_ENABLED 1
      87             : 
      88             : #if RK5_ENABLED
      89             :     module procedure test_getExpNext_RK5
      90             :         use pm_kind, only: RKC => RK5
      91             : #include "test_pm_mathExp@routines.inc.F90"
      92             :     end procedure
      93             : #endif
      94             : 
      95             : #if RK4_ENABLED
      96           1 :     module procedure test_getExpNext_RK4
      97             :         use pm_kind, only: RKC => RK4
      98             : #include "test_pm_mathExp@routines.inc.F90"
      99             :     end procedure
     100             : #endif
     101             : 
     102             : #if RK3_ENABLED
     103           1 :     module procedure test_getExpNext_RK3
     104             :         use pm_kind, only: RKC => RK3
     105             : #include "test_pm_mathExp@routines.inc.F90"
     106             :     end procedure
     107             : #endif
     108             : 
     109             : #if RK2_ENABLED
     110           1 :     module procedure test_getExpNext_RK2
     111             :         use pm_kind, only: RKC => RK2
     112             : #include "test_pm_mathExp@routines.inc.F90"
     113             :     end procedure
     114             : #endif
     115             : 
     116             : #if RK1_ENABLED
     117           1 :     module procedure test_getExpNext_RK1
     118             :         use pm_kind, only: RKC => RK1
     119             : #include "test_pm_mathExp@routines.inc.F90"
     120             :     end procedure
     121             : #endif
     122             : 
     123             : #undef RK_ENABLED
     124             : 
     125             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     126             : 
     127             : #undef getExpNext_ENABLED
     128             : 
     129             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     130             : 
     131             : #define getExpPrev_ENABLED 1
     132             : 
     133             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     134             : 
     135             : #define IK_ENABLED 1
     136             : 
     137             : #if IK5_ENABLED
     138           1 :     module procedure test_getExpPrev_IK5
     139             :         use pm_kind, only: IKC => IK5
     140             : #include "test_pm_mathExp@routines.inc.F90"
     141             :     end procedure
     142             : #endif
     143             : 
     144             : #if IK4_ENABLED
     145           1 :     module procedure test_getExpPrev_IK4
     146             :         use pm_kind, only: IKC => IK4
     147             : #include "test_pm_mathExp@routines.inc.F90"
     148             :     end procedure
     149             : #endif
     150             : 
     151             : #if IK3_ENABLED
     152           1 :     module procedure test_getExpPrev_IK3
     153             :         use pm_kind, only: IKC => IK3
     154             : #include "test_pm_mathExp@routines.inc.F90"
     155             :     end procedure
     156             : #endif
     157             : 
     158             : #if IK2_ENABLED
     159           1 :     module procedure test_getExpPrev_IK2
     160             :         use pm_kind, only: IKC => IK2
     161             : #include "test_pm_mathExp@routines.inc.F90"
     162             :     end procedure
     163             : #endif
     164             : 
     165             : #if IK1_ENABLED
     166           1 :     module procedure test_getExpPrev_IK1
     167             :         use pm_kind, only: IKC => IK1
     168             : #include "test_pm_mathExp@routines.inc.F90"
     169             :     end procedure
     170             : #endif
     171             : 
     172             : #undef IK_ENABLED
     173             : 
     174             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     175             : 
     176             : #define RK_ENABLED 1
     177             : 
     178             : #if RK5_ENABLED
     179             :     module procedure test_getExpPrev_RK5
     180             :         use pm_kind, only: RKC => RK5
     181             : #include "test_pm_mathExp@routines.inc.F90"
     182             :     end procedure
     183             : #endif
     184             : 
     185             : #if RK4_ENABLED
     186           1 :     module procedure test_getExpPrev_RK4
     187             :         use pm_kind, only: RKC => RK4
     188             : #include "test_pm_mathExp@routines.inc.F90"
     189             :     end procedure
     190             : #endif
     191             : 
     192             : #if RK3_ENABLED
     193           1 :     module procedure test_getExpPrev_RK3
     194             :         use pm_kind, only: RKC => RK3
     195             : #include "test_pm_mathExp@routines.inc.F90"
     196             :     end procedure
     197             : #endif
     198             : 
     199             : #if RK2_ENABLED
     200           1 :     module procedure test_getExpPrev_RK2
     201             :         use pm_kind, only: RKC => RK2
     202             : #include "test_pm_mathExp@routines.inc.F90"
     203             :     end procedure
     204             : #endif
     205             : 
     206             : #if RK1_ENABLED
     207           1 :     module procedure test_getExpPrev_RK1
     208             :         use pm_kind, only: RKC => RK1
     209             : #include "test_pm_mathExp@routines.inc.F90"
     210             :     end procedure
     211             : #endif
     212             : 
     213             : #undef RK_ENABLED
     214             : 
     215             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     216             : 
     217             : #undef getExpPrev_ENABLED
     218             : 
     219             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     220             : 
     221             : end submodule routines ! LCOV_EXCL_LINE

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