Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Source Code
subroutine Test_MAPL_GetResource_array_logical()type(ESMF_Config)::configinteger::statuslogical::expected(4),actual(4),matchcharacter(len=*),parameter::LABEL='label'character(len=*),parameter::VAL='.T. .F. .F. .T.'logical::value_is_setcharacter(len=MAX_LINE_LENGTH)::output_stringexpected=[.TRUE.,.FALSE.,.FALSE.,.TRUE.]config=ESMF_ConfigCreate(rc=status)@assertEqual(0,status,'Failed to create ESMF_Config')call ESMF_ConfigSetAttribute(config,PRINT_ALL,label='PRINTRC:',rc=status)@assertEqual(0,status,'Failed to set PRINTRC')call ESMF_ConfigSetAttribute(config,VAL,label=LABEL,rc=status)@assertEqual(0,status,'Failed to set attribute')call MAPL_GetResource_config_array(config,actual,label=LABEL,value_is_set=value_is_set,iunit=output_string,rc=status)@assertEqual(0,status,'Failed to get resource')match=all(expected.eqv.actual)@assertTrue(match,'actual does not match expected.')end subroutine Test_MAPL_GetResource_array_logical