tests.traversal.test_helpers#
Unit tests for structure.twoendedlink.TwoEndedLink class.
Functions
Test the filter function attribute of find_links. |
|
Check that findlinks returns empty when no links should be returned. |
|
Test findlinks without direction sensitivity. |
|
Sanity check of find_links(). |
|
|
Timing of the find_links function. |
|
Test findlinks in a graph application (test like you fly). |
Test that findlinks handles unknown edge types according to input. |
|
Ensure the ineighbors function yields an iterator. |
|
Ensure the ineighbors function isn't buggy with partial cache insertions. |
|
Ensure an exception is raised when an invalid value is passed to the direction_sensitive argument. |
|
Ensure neighbors function is sensitive to direction of edges. |
|
Ensure neighbors function direction sensitivity works backwards. |
|
Ensure neighbors function direction sensitivity can be turned off. |
|
Ensure the neighbors() filterfunction works with subclass detection when using a backwards link direction. |
|
Ensure the neighbors function filterfunc works in a vertex application. |
|
Ensure the neighbors function filterfunc works in a vertex and direction non-sensitive application. |
|
Ensure the neighbors function filterfunc works in a vertex and undirectededge application. |
|
Ensure the neighbors() filterfunction works with subclass detection when using a backwards link direction and an undirected graph. |
|
Ensure the neighbors function works with undirected edges. |
|
Ensure neighbors function handles unknown edge types as the caller desires. |
|
Ensure neighbors function handles unknown edge types when in backwards mode. |