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_equal_diff_attributes()type(Variable)::v1,v2type(UnlimitedEntity)::const! no init equal?@assertTrue(v1==v2)const=UnlimitedEntity([0,1])v1=Variable(type=pFIO_INT32,dimensions='x',const_value=const)v2=v1call v1%add_attribute('attr1',1)@assertFalse(v1==v2)! guard against missing extra items in v2@assertFalse(v2==v1)call v1%add_attribute('attr2',2.)call v2%add_attribute('attr2',2.)call v2%add_attribute('attr1',1)@assertTrue(v1==v2)call v1%add_attribute('attr3','cat')call v2%add_attribute('attr3','dog')@assertFalse(v1==v2)end subroutine test_equal_diff_attributes