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. |