test_match_bool Subroutine

public subroutine test_match_bool()

Arguments

None

Calls

proc~~test_match_bool~~CallsGraph proc~test_match_bool test_match_bool ESMF_HConfigCreate ESMF_HConfigCreate proc~test_match_bool->ESMF_HConfigCreate ESMF_HConfigDestroy ESMF_HConfigDestroy proc~test_match_bool->ESMF_HConfigDestroy anyexceptions anyexceptions proc~test_match_bool->anyexceptions assert_that assert_that proc~test_match_bool->assert_that interface~mapl_hconfigmatch MAPL_HConfigMatch proc~test_match_bool->interface~mapl_hconfigmatch sourcelocation sourcelocation proc~test_match_bool->sourcelocation true true proc~test_match_bool->true

Source Code

   subroutine test_match_bool()
      type(ESMF_HConfig) :: a, b
      logical :: match
      integer :: status

      a = ESMF_HConfigCreate(content='on', _RC)
      b = ESMF_HConfigCreate(content='true', _RC)

      match = MAPL_HConfigMatch(a, b, _RC)
      @assert_that(match, is(true()))

      call ESMF_HConfigDestroy(a, _RC)
      call ESMF_HConfigDestroy(b, _RC)
   end subroutine test_match_bool