tests.builder.test_adjmatrix#
Unit tests for structure.twoendedlink.TwoEndedLink class.
Functions
This graph is taken from [CLRS09], figure 22.2. |
|
Ensure adjmatrix respects user's edge type. |
|
Ensure adjmatrix throws an error when the given matrix is not square. |
|
Ensure adjmatrix throws an error if the vertex array does not match the matrix size. |
|
Validate creation of adjacency matrices from a universe with only directed edges. |
|
Test creation of an adjacency matrix from a universe with both directed and undirected edges. |
|
Validate creation of adjacency matrices from a universe with only undirected edges. |