2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-19 04:12:11 +00:00

Add unit test.

This commit is contained in:
Alec Edgington
2021-12-10 12:47:21 +00:00
parent 27202068ea
commit 84232b46c0

View File

@@ -55,5 +55,13 @@ int main(int argc, char* argv[])
BOOST_TEST(m_graph[ed1] == EDGE_VAL);
// https://github.com/boostorg/graph/issues/268
{
boost::adjacency_list<boost::setS, boost::vecS, boost::undirectedS> g;
boost::add_edge(2, 0, g);
boost::remove_vertex(1, g);
}
return boost::report_errors();
}