test_match_sequence_match Subroutine

public subroutine test_match_sequence_match()

Arguments

None

Calls

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

Source Code

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

      a = ESMF_HConfigCreate(content='[1, 2, 0]', _RC)
      b = ESMF_HConfigCreate(content='[1, 2, 0]', _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_sequence_match