tests.integration_tests.network.test_graph_metrics#
Functions
Test to check helper function works as intended. |
|
Test to check geometric mean with overflow returns correct values. |
|
Test graph summary stats function returns expected number of elements. |
|
Test size and number of elements returned by graph metric bundle method. |
- tests.integration_tests.network.test_graph_metrics.test_geometric_mean_overflow(input_list, answer)[source]#
Test to check geometric mean with overflow returns correct values.
- Parameters:
input_list – The values used to derive a geometric mean.
answer – The geometric mean.
- tests.integration_tests.network.test_graph_metrics.test_flatten_list(input_list, expected_len)[source]#
Test to check helper function works as intended.
- Parameters:
input_list – A ragged list of lists.
expected_len – The expected length once flattened.