https://www.cdslab.org/paramonte/fortran/2
Current view: top level - test - test_pm_complexCompareAll.F90 (source / functions) Hit Total Coverage
Test: ParaMonte 2.0.0 :: Serial Fortran - Code Coverage Report Lines: 24 24 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
      18             : !>  This module contains tests of the module [pm_complexCompareAll](@ref pm_complexCompareAll).
      19             : !>
      20             : !>  \fintest
      21             : !>
      22             : !>  \author
      23             : !>  \AmirShahmoradi, September 1, 2017, 12:00 AM, Institute for Computational Engineering and Sciences (ICES), The University of Texas at Austin
      24             : 
      25             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      26             : 
      27             : module test_pm_complexCompareAll
      28             : 
      29             :     use pm_complexCompareAll
      30             :     use pm_err, only: err_type
      31             :     use pm_test, only: test_type, LK
      32             :     implicit none
      33             : 
      34             :     private
      35             :     public :: setTest
      36             :     type(test_type) :: test
      37             : 
      38             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      39             : 
      40             :     interface
      41             : #if CK5_ENABLED
      42             :     module function test_isallless_CK5_1() result(assertion); logical(LK) :: assertion; end function
      43             :     module function test_isallleq_CK5_1() result(assertion); logical(LK) :: assertion; end function
      44             :     module function test_isallneq_CK5_1() result(assertion); logical(LK) :: assertion; end function
      45             :     module function test_isallmeq_CK5_1() result(assertion); logical(LK) :: assertion; end function
      46             :     module function test_isallmore_CK5_1() result(assertion); logical(LK) :: assertion; end function
      47             : #endif
      48             : #if CK4_ENABLED
      49             :     module function test_isallless_CK4_1() result(assertion); logical(LK) :: assertion; end function
      50             :     module function test_isallleq_CK4_1() result(assertion); logical(LK) :: assertion; end function
      51             :     module function test_isallneq_CK4_1() result(assertion); logical(LK) :: assertion; end function
      52             :     module function test_isallmeq_CK4_1() result(assertion); logical(LK) :: assertion; end function
      53             :     module function test_isallmore_CK4_1() result(assertion); logical(LK) :: assertion; end function
      54             : #endif
      55             : #if CK3_ENABLED
      56             :     module function test_isallless_CK3_1() result(assertion); logical(LK) :: assertion; end function
      57             :     module function test_isallleq_CK3_1() result(assertion); logical(LK) :: assertion; end function
      58             :     module function test_isallneq_CK3_1() result(assertion); logical(LK) :: assertion; end function
      59             :     module function test_isallmeq_CK3_1() result(assertion); logical(LK) :: assertion; end function
      60             :     module function test_isallmore_CK3_1() result(assertion); logical(LK) :: assertion; end function
      61             : #endif
      62             : #if CK2_ENABLED
      63             :     module function test_isallless_CK2_1() result(assertion); logical(LK) :: assertion; end function
      64             :     module function test_isallleq_CK2_1() result(assertion); logical(LK) :: assertion; end function
      65             :     module function test_isallneq_CK2_1() result(assertion); logical(LK) :: assertion; end function
      66             :     module function test_isallmeq_CK2_1() result(assertion); logical(LK) :: assertion; end function
      67             :     module function test_isallmore_CK2_1() result(assertion); logical(LK) :: assertion; end function
      68             : #endif
      69             : #if CK1_ENABLED
      70             :     module function test_isallless_CK1_1() result(assertion); logical(LK) :: assertion; end function
      71             :     module function test_isallleq_CK1_1() result(assertion); logical(LK) :: assertion; end function
      72             :     module function test_isallneq_CK1_1() result(assertion); logical(LK) :: assertion; end function
      73             :     module function test_isallmeq_CK1_1() result(assertion); logical(LK) :: assertion; end function
      74             :     module function test_isallmore_CK1_1() result(assertion); logical(LK) :: assertion; end function
      75             : #endif
      76             :     end interface
      77             : 
      78             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      79             : 
      80             : contains
      81             : 
      82             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      83             : 
      84           1 :     subroutine setTest()
      85             : 
      86             :         implicit none
      87           1 :         test = test_type(MODULE_NAME)
      88             : 
      89             :         !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      90             : 
      91             : #if CK5_ENABLED
      92             :         call test%run(test_isallless_CK5_1, SK_"test_isallless_CK5_1")
      93             :         call test%run(test_isallleq_CK5_1, SK_"test_isallleq_CK5_1")
      94             :         call test%run(test_isallneq_CK5_1, SK_"test_isallneq_CK5_1")
      95             :         call test%run(test_isallmeq_CK5_1, SK_"test_isallmeq_CK5_1")
      96             :         call test%run(test_isallmore_CK5_1, SK_"test_isallmore_CK5_1")
      97             : #endif
      98             : #if CK4_ENABLED
      99           1 :         call test%run(test_isallless_CK4_1, SK_"test_isallless_CK4_1")
     100           1 :         call test%run(test_isallleq_CK4_1, SK_"test_isallleq_CK4_1")
     101           1 :         call test%run(test_isallneq_CK4_1, SK_"test_isallneq_CK4_1")
     102           1 :         call test%run(test_isallmeq_CK4_1, SK_"test_isallmeq_CK4_1")
     103           1 :         call test%run(test_isallmore_CK4_1, SK_"test_isallmore_CK4_1")
     104             : #endif
     105             : #if CK3_ENABLED
     106           1 :         call test%run(test_isallless_CK3_1, SK_"test_isallless_CK3_1")
     107           1 :         call test%run(test_isallleq_CK3_1, SK_"test_isallleq_CK3_1")
     108           1 :         call test%run(test_isallneq_CK3_1, SK_"test_isallneq_CK3_1")
     109           1 :         call test%run(test_isallmeq_CK3_1, SK_"test_isallmeq_CK3_1")
     110           1 :         call test%run(test_isallmore_CK3_1, SK_"test_isallmore_CK3_1")
     111             : #endif
     112             : #if CK2_ENABLED
     113           1 :         call test%run(test_isallless_CK2_1, SK_"test_isallless_CK2_1")
     114           1 :         call test%run(test_isallleq_CK2_1, SK_"test_isallleq_CK2_1")
     115           1 :         call test%run(test_isallneq_CK2_1, SK_"test_isallneq_CK2_1")
     116           1 :         call test%run(test_isallmeq_CK2_1, SK_"test_isallmeq_CK2_1")
     117           1 :         call test%run(test_isallmore_CK2_1, SK_"test_isallmore_CK2_1")
     118             : #endif
     119             : #if CK1_ENABLED
     120           1 :         call test%run(test_isallless_CK1_1, SK_"test_isallless_CK1_1")
     121           1 :         call test%run(test_isallleq_CK1_1, SK_"test_isallleq_CK1_1")
     122           1 :         call test%run(test_isallneq_CK1_1, SK_"test_isallneq_CK1_1")
     123           1 :         call test%run(test_isallmeq_CK1_1, SK_"test_isallmeq_CK1_1")
     124           1 :         call test%run(test_isallmore_CK1_1, SK_"test_isallmore_CK1_1")
     125             : #endif
     126             : 
     127             :         !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     128             : 
     129           1 :         call test%summarize()
     130             : 
     131           1 :     end subroutine setTest
     132             : 
     133             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     134             : 
     135             : end module test_pm_complexCompareAll ! LCOV_EXCL_LINE

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