https://www.cdslab.org/paramonte/fortran/2
Current view: top level - test - test_pm_distPiwiPoweto@routines.F90 (source / functions) Hit Total Coverage
Test: ParaMonte 2.0.0 :: Serial Fortran - Code Coverage Report Lines: 16 16 100.0 %
Date: 2024-04-08 03:18:57 Functions: 16 16 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 file contains the implementations of the tests of module [pm_distPiwiPoweto](@ref pm_distPiwiPoweto).
      18             : !>
      19             : !>  \fintest
      20             : !>
      21             : !>  \author
      22             : !>  \FatemehBagheri, 12:27 AM Tuesday, February 22, 2022, Dallas, TX
      23             : 
      24             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      25             : 
      26             : submodule (test_pm_distPiwiPoweto) routines
      27             : 
      28             :     use pm_arraySort, only: setSorted
      29             :     use pm_quadPack, only: isFailedQuad
      30             :     use pm_arraySpace, only: getLinSpace
      31             :     use pm_distUnif, only: getUnifRand
      32             :     use pm_distUnif, only: setUnifRand
      33             : 
      34             :     implicit none
      35             : 
      36             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      37             : 
      38             : contains
      39             : 
      40             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      41             : 
      42             : #define getPiwiPowetoLogPDF_ENABLED 1
      43             : 
      44             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      45             : 
      46             : #define RK_ENABLED 1
      47             : 
      48             : #if RK5_ENABLED
      49             :     module procedure test_getPiwiPowetoLogPDF_RK5_1
      50             :         use pm_kind, only: RKC => RK5
      51             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
      52             :     end procedure
      53             : #endif
      54             : 
      55             : #if RK4_ENABLED
      56           1 :     module procedure test_getPiwiPowetoLogPDF_RK4_1
      57             :         use pm_kind, only: RKC => RK4
      58             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
      59             :     end procedure
      60             : #endif
      61             : 
      62             : #if RK3_ENABLED
      63           1 :     module procedure test_getPiwiPowetoLogPDF_RK3_1
      64             :         use pm_kind, only: RKC => RK3
      65             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
      66             :     end procedure
      67             : #endif
      68             : 
      69             : #if RK2_ENABLED
      70           1 :     module procedure test_getPiwiPowetoLogPDF_RK2_1
      71             :         use pm_kind, only: RKC => RK2
      72             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
      73             :     end procedure
      74             : #endif
      75             : 
      76             : #if RK1_ENABLED
      77           1 :     module procedure test_getPiwiPowetoLogPDF_RK1_1
      78             :         use pm_kind, only: RKC => RK1
      79             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
      80             :     end procedure
      81             : #endif
      82             : 
      83             : #undef RK_ENABLED
      84             : 
      85             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      86             : 
      87             : #undef getPiwiPowetoLogPDF_ENABLED
      88             : 
      89             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      90             : 
      91             : #define setPiwiPowetoLogPDF_ENABLED 1
      92             : 
      93             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      94             : 
      95             : #define RK_ENABLED 1
      96             : 
      97             : #if RK5_ENABLED
      98             :     module procedure test_setPiwiPowetoLogPDF_RK5_1
      99             :         use pm_kind, only: RKC => RK5
     100             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     101             :     end procedure
     102             : #endif
     103             : 
     104             : #if RK4_ENABLED
     105           1 :     module procedure test_setPiwiPowetoLogPDF_RK4_1
     106             :         use pm_kind, only: RKC => RK4
     107             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     108             :     end procedure
     109             : #endif
     110             : 
     111             : #if RK3_ENABLED
     112           1 :     module procedure test_setPiwiPowetoLogPDF_RK3_1
     113             :         use pm_kind, only: RKC => RK3
     114             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     115             :     end procedure
     116             : #endif
     117             : 
     118             : #if RK2_ENABLED
     119           1 :     module procedure test_setPiwiPowetoLogPDF_RK2_1
     120             :         use pm_kind, only: RKC => RK2
     121             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     122             :     end procedure
     123             : #endif
     124             : 
     125             : #if RK1_ENABLED
     126           1 :     module procedure test_setPiwiPowetoLogPDF_RK1_1
     127             :         use pm_kind, only: RKC => RK1
     128             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     129             :     end procedure
     130             : #endif
     131             : 
     132             : #undef RK_ENABLED
     133             : 
     134             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     135             : 
     136             : #undef setPiwiPowetoLogPDF_ENABLED
     137             : 
     138             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     139             : 
     140             : #define getPiwiPowetoCDF_ENABLED 1
     141             : 
     142             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     143             : 
     144             : #define RK_ENABLED 1
     145             : 
     146             : #if RK5_ENABLED
     147             :     module procedure test_getPiwiPowetoCDF_RK5_1
     148             :         use pm_kind, only: RKC => RK5
     149             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     150             :     end procedure
     151             : #endif
     152             : 
     153             : #if RK4_ENABLED
     154           1 :     module procedure test_getPiwiPowetoCDF_RK4_1
     155             :         use pm_kind, only: RKC => RK4
     156             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     157             :     end procedure
     158             : #endif
     159             : 
     160             : #if RK3_ENABLED
     161           1 :     module procedure test_getPiwiPowetoCDF_RK3_1
     162             :         use pm_kind, only: RKC => RK3
     163             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     164             :     end procedure
     165             : #endif
     166             : 
     167             : #if RK2_ENABLED
     168           1 :     module procedure test_getPiwiPowetoCDF_RK2_1
     169             :         use pm_kind, only: RKC => RK2
     170             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     171             :     end procedure
     172             : #endif
     173             : 
     174             : #if RK1_ENABLED
     175           1 :     module procedure test_getPiwiPowetoCDF_RK1_1
     176             :         use pm_kind, only: RKC => RK1
     177             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     178             :     end procedure
     179             : #endif
     180             : 
     181             : #undef RK_ENABLED
     182             : 
     183             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     184             : 
     185             : #undef getPiwiPowetoCDF_ENABLED
     186             : 
     187             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     188             : 
     189             : #define setPiwiPowetoCDF_ENABLED 1
     190             : 
     191             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     192             : 
     193             : #define RK_ENABLED 1
     194             : 
     195             : #if RK5_ENABLED
     196             :     module procedure test_setPiwiPowetoCDF_RK5_1
     197             :         use pm_kind, only: RKC => RK5
     198             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     199             :     end procedure
     200             : #endif
     201             : 
     202             : #if RK4_ENABLED
     203           1 :     module procedure test_setPiwiPowetoCDF_RK4_1
     204             :         use pm_kind, only: RKC => RK4
     205             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     206             :     end procedure
     207             : #endif
     208             : 
     209             : #if RK3_ENABLED
     210           1 :     module procedure test_setPiwiPowetoCDF_RK3_1
     211             :         use pm_kind, only: RKC => RK3
     212             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     213             :     end procedure
     214             : #endif
     215             : 
     216             : #if RK2_ENABLED
     217           1 :     module procedure test_setPiwiPowetoCDF_RK2_1
     218             :         use pm_kind, only: RKC => RK2
     219             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     220             :     end procedure
     221             : #endif
     222             : 
     223             : #if RK1_ENABLED
     224           1 :     module procedure test_setPiwiPowetoCDF_RK1_1
     225             :         use pm_kind, only: RKC => RK1
     226             : #include "test_pm_distPiwiPoweto@routines.inc.F90"
     227             :     end procedure
     228             : #endif
     229             : 
     230             : #undef RK_ENABLED
     231             : 
     232             :     !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     233             : 
     234             : #undef setPiwiPowetoCDF_ENABLED
     235             : 
     236             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     237             : 
     238             : end submodule routines ! LCOV_EXCL_LINE

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