Skip to content

Commit

Permalink
Unit testing update
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosmaggioros committed Jul 6, 2024
1 parent 5075555 commit 9f40d1d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tests/tree/ttf_tree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ TEST_CASE("Testing 234-tree insertion [2]"){
REQUIRE(level_ordered == check);
}

TEST_CASE("Testing 234-tree insertion [3]"){
ttf_tree<int> t;
t.insert(30);
t.insert(99);
t.insert(70);
t.insert(60);
t.insert(40);
t.insert(66);
t.insert(50);
std::vector<std::vector<std::vector<int> > > level_ordered = t.level_order();
std::vector<std::vector<std::vector<int> > > check = {{{40,70} }, { {30},{50,60,66},{99}}};
REQUIRE(level_ordered == check);
}
//TEST_CASE("Testing 234-tree insertion [3]"){
// ttf_tree<int> t;
// t.insert(30);
// t.insert(99);
// t.insert(70);
// t.insert(60);
// t.insert(40);
// t.insert(66);
// t.insert(50);
// std::vector<std::vector<std::vector<int> > > level_ordered = t.level_order();
// std::vector<std::vector<std::vector<int> > > check = {{{40,70} }, { {30},{50,60,66},{99}}};
// REQUIRE(level_ordered == check);
//}

TEST_CASE("Testing 234-tree insertion [4]"){
ttf_tree<int> t;
Expand Down

0 comments on commit 9f40d1d

Please sign in to comment.