Enabled test cases again by removing unsupported features from test files.

This commit is contained in:
2017-06-24 21:48:37 +02:00
parent 6e858ff52f
commit 6b1d079f69
4 changed files with 29 additions and 543 deletions

View File

@@ -16,26 +16,26 @@ TEST_CASE("[PDDL parser issues] Check past issues", "[PDDL parser issues]")
pddl::Tokenizer tokenizer;
pddl::Context context(std::move(tokenizer), ignoreWarnings);
/*SECTION("white space issues with constants and parsing unsupported sections")
SECTION("white space issues with constants and parsing unsupported sections")
{
const auto domainFile = fs::path("data") / "issues" / "issue-1.pddl";
context.tokenizer.read(domainFile);
CHECK_NOTHROW(pddl::parseDescription(context));
}*/
}
/*SECTION("white space issues with empty n-ary predicates")
SECTION("white space issues with empty n-ary predicates")
{
const auto domainFile = fs::path("data") / "issues" / "issue-2.pddl";
context.tokenizer.read(domainFile);
CHECK_NOTHROW(pddl::parseDescription(context));
}*/
}
/*SECTION("comments are correctly ignored")
SECTION("comments are correctly ignored")
{
const auto domainFile = fs::path("data") / "issues" / "issue-3.pddl";
context.tokenizer.read(domainFile);
CHECK_NOTHROW(pddl::parseDescription(context));
}*/
}
// Check that no infinite loop occurs
SECTION("“either” in typing section")