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_convert_floats()real(c_float),parameter::FROM(3)=[1.0,2.0,3.0]real(c_float),parameter::EXPECTED(3)=1000.0*FROMreal(c_float)::actual(size(EXPECTED))type(Converter)::convinteger(ut_status)::statuscharacter(len=*),parameter::FROM_STRING=KMcharacter(len=*),parameter::TO_STRING=Mcall initialize_udunits_system(rc=status)@assertEqual(UT_SUCCESS,status,'Failed to initialize')call get_converter(conv,FROM_STRING,TO_STRING,rc=status)@assertEqual(UT_SUCCESS,status,'Failed to get converter')actual=conv%convert(FROM)@assertEqual(actual,EXPECTED,'Actual does not equal expected.')call conv%free()call finalize_udunits_system()end subroutine test_convert_floats