https://www.cdslab.org/paramonte/fortran/2
Current view: top level - test - test_pm_complexCompareLex.F90 (source / functions) Hit Total Coverage
Test: ParaMonte 2.0.0 :: Serial Fortran - Code Coverage Report Lines: 20 20 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_complexCompareLex](@ref pm_complexCompareLex).
      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_complexCompareLex
      28             : 
      29             :     use pm_complexCompareLex
      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_islexless_CK5_1() result(assertion); logical(LK) :: assertion; end function
      43             :     module function test_islexleq_CK5_1() result(assertion); logical(LK) :: assertion; end function
      44             :     module function test_islexmeq_CK5_1() result(assertion); logical(LK) :: assertion; end function
      45             :     module function test_islexmore_CK5_1() result(assertion); logical(LK) :: assertion; end function
      46             : #endif
      47             : #if CK4_ENABLED
      48             :     module function test_islexless_CK4_1() result(assertion); logical(LK) :: assertion; end function
      49             :     module function test_islexleq_CK4_1() result(assertion); logical(LK) :: assertion; end function
      50             :     module function test_islexmeq_CK4_1() result(assertion); logical(LK) :: assertion; end function
      51             :     module function test_islexmore_CK4_1() result(assertion); logical(LK) :: assertion; end function
      52             : #endif
      53             : #if CK3_ENABLED
      54             :     module function test_islexless_CK3_1() result(assertion); logical(LK) :: assertion; end function
      55             :     module function test_islexleq_CK3_1() result(assertion); logical(LK) :: assertion; end function
      56             :     module function test_islexmeq_CK3_1() result(assertion); logical(LK) :: assertion; end function
      57             :     module function test_islexmore_CK3_1() result(assertion); logical(LK) :: assertion; end function
      58             : #endif
      59             : #if CK2_ENABLED
      60             :     module function test_islexless_CK2_1() result(assertion); logical(LK) :: assertion; end function
      61             :     module function test_islexleq_CK2_1() result(assertion); logical(LK) :: assertion; end function
      62             :     module function test_islexmeq_CK2_1() result(assertion); logical(LK) :: assertion; end function
      63             :     module function test_islexmore_CK2_1() result(assertion); logical(LK) :: assertion; end function
      64             : #endif
      65             : #if CK1_ENABLED
      66             :     module function test_islexless_CK1_1() result(assertion); logical(LK) :: assertion; end function
      67             :     module function test_islexleq_CK1_1() result(assertion); logical(LK) :: assertion; end function
      68             :     module function test_islexmeq_CK1_1() result(assertion); logical(LK) :: assertion; end function
      69             :     module function test_islexmore_CK1_1() result(assertion); logical(LK) :: assertion; end function
      70             : #endif
      71             :     end interface
      72             : 
      73             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      74             : 
      75             : contains
      76             : 
      77             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      78             : 
      79           1 :     subroutine setTest()
      80             : 
      81             :         implicit none
      82           1 :         test = test_type(MODULE_NAME)
      83             : 
      84             :         !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      85             : 
      86             : #if CK5_ENABLED
      87             :         call test%run(test_islexless_CK5_1, SK_"test_islexless_CK5_1")
      88             :         call test%run(test_islexleq_CK5_1, SK_"test_islexleq_CK5_1")
      89             :         call test%run(test_islexmeq_CK5_1, SK_"test_islexmeq_CK5_1")
      90             :         call test%run(test_islexmore_CK5_1, SK_"test_islexmore_CK5_1")
      91             : #endif
      92             : #if CK4_ENABLED
      93           1 :         call test%run(test_islexless_CK4_1, SK_"test_islexless_CK4_1")
      94           1 :         call test%run(test_islexleq_CK4_1, SK_"test_islexleq_CK4_1")
      95           1 :         call test%run(test_islexmeq_CK4_1, SK_"test_islexmeq_CK4_1")
      96           1 :         call test%run(test_islexmore_CK4_1, SK_"test_islexmore_CK4_1")
      97             : #endif
      98             : #if CK3_ENABLED
      99           1 :         call test%run(test_islexless_CK3_1, SK_"test_islexless_CK3_1")
     100           1 :         call test%run(test_islexleq_CK3_1, SK_"test_islexleq_CK3_1")
     101           1 :         call test%run(test_islexmeq_CK3_1, SK_"test_islexmeq_CK3_1")
     102           1 :         call test%run(test_islexmore_CK3_1, SK_"test_islexmore_CK3_1")
     103             : #endif
     104             : #if CK2_ENABLED
     105           1 :         call test%run(test_islexless_CK2_1, SK_"test_islexless_CK2_1")
     106           1 :         call test%run(test_islexleq_CK2_1, SK_"test_islexleq_CK2_1")
     107           1 :         call test%run(test_islexmeq_CK2_1, SK_"test_islexmeq_CK2_1")
     108           1 :         call test%run(test_islexmore_CK2_1, SK_"test_islexmore_CK2_1")
     109             : #endif
     110             : #if CK1_ENABLED
     111           1 :         call test%run(test_islexless_CK1_1, SK_"test_islexless_CK1_1")
     112           1 :         call test%run(test_islexleq_CK1_1, SK_"test_islexleq_CK1_1")
     113           1 :         call test%run(test_islexmeq_CK1_1, SK_"test_islexmeq_CK1_1")
     114           1 :         call test%run(test_islexmore_CK1_1, SK_"test_islexmore_CK1_1")
     115             : #endif
     116             : 
     117             :         !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     118             : 
     119           1 :         call test%summarize()
     120             : 
     121           1 :     end subroutine setTest
     122             : 
     123             : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     124             : 
     125             : end module test_pm_complexCompareLex ! LCOV_EXCL_LINE

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