add functions, new tests, code cleaning

This commit is contained in:
pantor
2017-08-20 00:09:55 +02:00
parent 013403acb8
commit f2ac74fc5a
4 changed files with 168 additions and 101 deletions

View File

@@ -79,7 +79,7 @@ TEST_CASE("Search on level") {
CHECK( match.close_match.end_position() == 28 );
CHECK( match.position() == 8 );
CHECK( match.end_position() == 28 );
CHECK( match.outer == "(% up %)Test(% N1 %)" );
CHECK( match.inner == "Test" );
CHECK( match.outer() == "(% up %)Test(% N1 %)" );
CHECK( match.inner() == "Test" );
}
}