Skip to content

Commit

Permalink
Add test_bptree_constructor_simple_cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
sfiligoi committed Jan 10, 2025
1 parent 3ae7b6c commit 5f6c10a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/test_su.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ void test_bptree_constructor_simple() {
SUITE_END();
}

void test_bptree_constructor_simple_cpp() {
SUITE_START("bptree constructor simple cpp");
//01234567
//11101000
su::BPTree tree(std::string("(('123:foo; bar':1,b:2)c);"));

test_bptree_simple_result(tree);

SUITE_END();
}

void test_bptree_constructor_from_existing() {
SUITE_START("bptree constructor from_existing");
//01234567
Expand Down Expand Up @@ -1928,6 +1939,7 @@ void test_bptree_constructor_newline_bug() {

int main(int argc, char** argv) {
test_bptree_constructor_simple();
test_bptree_constructor_simple_cpp();
test_bptree_constructor_newline_bug();
test_bptree_constructor_from_existing();
test_bptree_constructor_single_descendent();
Expand Down

0 comments on commit 5f6c10a

Please sign in to comment.