# loki.tests.test_types

Functions

`fixture_here`() |
`test_basic_type`() | Tests the conversion of strings to BasicType.
`test_pragmas`(frontend) | Test detection of !$loki dimension pragmas to indicate intended shapes.
`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_type_attach_scope_kind`(frontend, tmp_path) | Validate scopes for nested variables (such as initial values for kind parameters that are shadowed in a nested scope) are assigned to the right scope
`test_type_char_length`(frontend) | Test the various beautiful ways of how Fortran allows to specify character lengths
`test_type_contiguous`(frontend) | Test pointer arguments with contiguous attribute (a F2008-feature, which is not supported by all frontends).
`test_type_declaration_attributes`(frontend) | Test recognition of different declaration attributes.
`test_type_derived_type`(frontend, tmp_path) | Test the detection of known derived type definitions.
`test_type_kind_value`(frontend) | Test the various way how kind parameters can be specified
`test_type_module_imports`(frontend) | Test the detection of known / unknown symbols types from module imports.
`test_type_procedure_pointer_declaration`(...) |

fixture_here()

test_basic_type()

  Tests the conversion of strings to BasicType.

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_type_declaration_attributes(frontend)

  Test recognition of different declaration attributes.

test_pragmas(frontend)

  Test detection of !$loki dimension pragmas to indicate intended shapes.

test_type_derived_type(frontend, tmp_path)

  Test the detection of known derived type definitions.

test_type_module_imports(frontend)

  Test the detection of known / unknown symbols types from module imports.

test_type_char_length(frontend)

  Test the various beautiful ways of how Fortran allows to specify character lengths

test_type_kind_value(frontend)

  Test the various way how kind parameters can be specified

test_type_contiguous(frontend)

  Test pointer arguments with contiguous attribute (a F2008-feature, which is not supported by all frontends).

test_type_procedure_pointer_declaration(frontend, tmp_path)

test_type_attach_scope_kind(frontend, tmp_path)

  Validate scopes for nested variables (such as initial values for kind parameters that are shadowed in a nested scope) are assigned to the right scope