23 lines
392 B
C++
23 lines
392 B
C++
#include <doctest/doctest.h>
|
|
|
|
#include "graph/graph.h"
|
|
using namespace graph;
|
|
|
|
TEST_SUITE("Graph test.") {
|
|
|
|
TEST_CASE("Insertion.") {
|
|
Graph<std::uint16_t> G;
|
|
//G.insert(1);
|
|
//G.insert(1, 2);
|
|
//G.insert(1, 4);
|
|
//G.insert(1, 6);
|
|
//G.insert(2, 4);
|
|
//G.insert(2, 5);
|
|
//G.insert(3, 4);
|
|
//G.insert(3, 6);
|
|
//G.insert(4, 6);
|
|
//G.insert(5, 6);
|
|
|
|
|
|
}
|
|
} |