17.31. test_model_summary
¶
Unit test the model summary.
17.31.1. Module Contents¶
17.31.1.1. Functions¶
|
Test that a summary can be created successfully. |
|
Test that the summary’s method |
|
Test that the summary’s method |
|
Test that the summary’s method |
|
Test that the summary correctly uses an existing solution. |
|
Test that the summary has expected fluxes. |
|
Test that the exchange summary is within expected bounds. |
|
Test that the model summary inside and outside of a context are equal. |
-
test_model_summary.
test_model_summary_interface
(model, opt_solver)[source]¶ Test that a summary can be created successfully.
-
test_model_summary.
test_model_summary_to_frame
(model, opt_solver)[source]¶ Test that the summary’s method
to_frame
can be called.
-
test_model_summary.
test_model_summary_to_string
(model, opt_solver, kwargs)[source]¶ Test that the summary’s method
to_string
can be called.
-
test_model_summary.
test_model_summary_to_html
(model, opt_solver, kwargs)[source]¶ Test that the summary’s method
to_html
can be called.
-
test_model_summary.
test_model_summary_to_frame_previous_solution
(model, opt_solver)[source]¶ Test that the summary correctly uses an existing solution.
-
test_model_summary.
test_model_summary_flux
(model, opt_solver)[source]¶ Test that the summary has expected fluxes.