Test startsWith to verify operation
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.
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.
subroutine testStartsWith
!! Test startsWith to verify operation
logical,dimension(4)::results
results(1) = startsWith('thisFunction','this')
results(2) = .not.startsWith('thisFunction','that')
results(3) = .not.startsWith('','this')
results(4) = startsWith('thisFunction','')
if( .not.all(results) ) error stop "Failed startsWith check"
end subroutine testStartsWith