seisflows.tests.test_tools
Test any of the utility functions defined in the Tools directory
Attributes
Functions
Check that model values are read in correctly and accessible in a way we |
|
Test the core merge and split functions of the Model class to ensure |
|
|
Check that saving and loading npz file works |
Check that we can instantiate a model from an input vector |
|
Test that importing based on internal modules works for various inputs |
Module Contents
- seisflows.tests.test_tools.TEST_DIR
- seisflows.tests.test_tools.TEST_MODEL
- seisflows.tests.test_tools.test_model_attributes()
Check that model values are read in correctly and accessible in a way we expect
- seisflows.tests.test_tools.test_model_functions()
Test the core merge and split functions of the Model class to ensure they give the same results
- seisflows.tests.test_tools.test_model_io(tmpdir)
Check that saving and loading npz file works
- seisflows.tests.test_tools.test_model_from_input_vector()
Check that we can instantiate a model from an input vector
- seisflows.tests.test_tools.test_custom_import()
Test that importing based on internal modules works for various inputs :return: