Add vertices without arcs into the BFTree

This commit is contained in:
stefiosif
2022-09-14 19:41:08 +03:00
parent 42f824a249
commit 0ffc20496d
2 changed files with 5 additions and 1 deletions

View File

@@ -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);