Initial Commit
This commit is contained in:
14
tests/unit_dag.cpp
Normal file
14
tests/unit_dag.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "daggy/DAG.hpp"
|
||||
|
||||
#include "catch.hpp"
|
||||
|
||||
TEST_CASE("DAG Basic Tests", "[dag]") {
|
||||
daggy::DAG<int, std::string> dag;
|
||||
|
||||
dag.addVertex(0, "hello");
|
||||
dag.addVertex(1, "goodbye");
|
||||
|
||||
dag.addEdge(0, 1);
|
||||
}
|
||||
Reference in New Issue
Block a user