loki.types.tests.test_scope module

A collection of tests for SymbolAttrs, SymbolTable and Scope.

test_symbol_attributes()

Tests the attachment, lookup and deletion of arbitrary attributes from SymbolAttributes

test_symbol_attributes_compare()

Test dedicated type.compare methods that allows certain attributes to be excluded from comparison.

test_scope_setter()

Test basic declaration and update behaviour of Scope

test_scope_getter()

Test basic :method:`get_type`/:method:`get_dtype` behaviour of Scope