Add vertices without arcs into the BFTree
This commit is contained in:
@@ -114,12 +114,15 @@ TEST_SUITE("Algorithm") {
|
||||
{2, {3, 6}},
|
||||
{3, {4}},
|
||||
{4, {5}},
|
||||
{5, {}},
|
||||
{6, {7, 9}},
|
||||
{7, {8}},
|
||||
{8, {}},
|
||||
{9, {10}},
|
||||
{10, {11}},
|
||||
{11, {12}},
|
||||
{12, {13}}
|
||||
{12, {13}},
|
||||
{13, {}}
|
||||
};
|
||||
|
||||
CHECK_EQ(tree, expected);
|
||||
|
||||
Reference in New Issue
Block a user