diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-19 11:35:16 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-19 13:04:58 -0400 |
| commit | 58f8a9ecde2cd513e652fe59f78dcde6a13ee8f7 (patch) | |
| tree | 2a4f0ea584816bdbe804a3ce2917c7ebc426abc0 /tests/lib/test_graph.py | |
| parent | d61a30687b6a414a347d851f474348b5129033d2 (diff) | |
lib: add DFS + DOT dumping to graph datastructure
* Add general-purpose DFS traversal code
* Add ability to dump any graph to DOT language
* Add tests for graph datastructure
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'tests/lib/test_graph.py')
| -rw-r--r-- | tests/lib/test_graph.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/test_graph.py b/tests/lib/test_graph.py new file mode 100644 index 0000000000..697e56c149 --- /dev/null +++ b/tests/lib/test_graph.py @@ -0,0 +1,4 @@ +import frrtest + +class TestGraph(frrtest.TestRefOut): + program = './test_graph' |
