# loki.ir.tests.test_transformer

Functions

`test_masked_transformer`(frontend) | A very basic sanity test for the MaskedTransformer class.
`test_masked_transformer_associates`(frontend) | Test the masked transformer in conjunction with associate blocks
`test_masked_transformer_minimum_set`(frontend) | A very basic sanity test for the MaskedTransformer class with require_all_start or greedy_stop properties.
`test_nested_masked_transformer`(frontend) | Test the masked transformer in conjunction with nesting
`test_transformer_duplicate_node_tuple_injection`(...) | Test for #41, where identical nodes in a tuple have not been correctly handled in the tuple injection mechanism.
`test_transformer_multinode_keys`(frontend) | Test basic transformer functionality with nulti-node keys
`test_transformer_rebuild`(frontend) | Test basic transformer functionality with and without node rebuilding.
`test_transformer_source_invalidation_prepend`(...) | Test basic transformer functionality and verify source invalidation when adding items to a loop body.
`test_transformer_source_invalidation_replace`(...) | Test basic transformer functionality and verify source invalidation when replacing nodes.

test_transformer_source_invalidation_replace(frontend)

  Test basic transformer functionality and verify source invalidation when replacing nodes.

test_transformer_source_invalidation_prepend(frontend)

  Test basic transformer functionality and verify source invalidation when adding items to a loop body.

test_transformer_rebuild(frontend)

  Test basic transformer functionality with and without node rebuilding.

test_transformer_multinode_keys(frontend)

  Test basic transformer functionality with nulti-node keys

test_masked_transformer(frontend)

  A very basic sanity test for the MaskedTransformer class.

test_masked_transformer_minimum_set(frontend)

  A very basic sanity test for the MaskedTransformer class with require_all_start or greedy_stop properties.

test_masked_transformer_associates(frontend)

  Test the masked transformer in conjunction with associate blocks

test_nested_masked_transformer(frontend)

  Test the masked transformer in conjunction with nesting

test_transformer_duplicate_node_tuple_injection(frontend, invalidate_source, replacement)

  Test for #41, where identical nodes in a tuple have not been correctly handled in the tuple injection mechanism.