# loki.backend.tests.test_pygen

Functions

`load_module`(tmp_path, module) | A helper routine that loads the given module from the current path.
`test_pygen_arguments`(tmp_path, frontend) | Test the correct exchange of arguments with varying intents
`test_pygen_derived_type_members`(tmp_path, ...) | A simple test to check derived type member usage.
`test_pygen_downcasing`(tmp_path, frontend) | A simple test routine to test the conversion to lower case.
`test_pygen_intrinsics`(tmp_path, frontend) | A simple test routine to test supported intrinsic functions
`test_pygen_logical_statements`(tmp_path, frontend) | A simple test routine to test logical statements
`test_pygen_loop_indices`(tmp_path, frontend) | Test to ensure loop indexing translates correctly
`test_pygen_simple_loops`(tmp_path, frontend) | A simple test routine to test Python transpilation of loops
`test_pygen_vectorization`(tmp_path, frontend) | Tests vector-notation conversion and local multi-dimensional arrays.

load_module(tmp_path, module)

  A helper routine that loads the given module from the current path.

test_pygen_simple_loops(tmp_path, frontend)

  A simple test routine to test Python transpilation of loops

test_pygen_arguments(tmp_path, frontend)

  Test the correct exchange of arguments with varying intents

test_pygen_vectorization(tmp_path, frontend)

  Tests vector-notation conversion and local multi-dimensional arrays.

test_pygen_intrinsics(tmp_path, frontend)

  A simple test routine to test supported intrinsic functions

test_pygen_loop_indices(tmp_path, frontend)

  Test to ensure loop indexing translates correctly

test_pygen_logical_statements(tmp_path, frontend)

  A simple test routine to test logical statements

test_pygen_downcasing(tmp_path, frontend)

  A simple test routine to test the conversion to lower case.

test_pygen_derived_type_members(tmp_path, frontend)

  A simple test to check derived type member usage.