anvil.tests package

Submodules

anvil.tests.test_benchmark module

Simple benchmarking exercise

anvil.tests.test_benchmark.test_benchmark_runs()

Test benchmark runs, in future test numbers.

anvil.tests.test_checkpoint module

anvil.tests.test_distributions module

Test distributions module

anvil.tests.test_distributions.test_normal_distribution()

Test that normal distribution generates a sample whose mean is within 5 sigma of expected value.

anvil.tests.test_distributions.test_phi_four_action()

Basic test that phi four action initialises and can handle expected states.

anvil.tests.test_distributions.test_phi_four_gaussian_limit()

Test phi four action in gaussian limit

anvil.tests.test_distributions.test_phi_four_uniform_limit()

Test phi four action in uniform limit

anvil.tests.test_free_scalar module

anvil.tests.test_geometry module

test_geometry.py

Unit test suite for geometry.py

anvil.tests.test_geometry.test_checkerboard()
anvil.tests.test_geometry.test_indexing()

Tests that the indexing example of get_shift is reproduced.

anvil.tests.test_geometry.test_splitcart()
anvil.tests.test_geometry.test_splitlexi()

anvil.tests.test_layers module

anvil.tests.test_learns_identity module

anvil.tests.test_models module

anvil.tests.test_networks module

Module contents