Test deDup 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 testDeDup
!! Test deDup to verify operation
logical,dimension(1)::results
results(1) = all( deDup([1,1,2,3,2,4])==[1,2,3,4] )
if( .not.all(results) ) error stop "Failed deDup check"
end subroutine testDeDup