Renamed test suites for clarity.
This commit is contained in:
parent
4ad9355e47
commit
871d3fcdb3
@ -12,7 +12,7 @@ const auto pddlInstanceBasePath = fs::path("data") / "pddl-instances";
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
TEST_CASE("[PDDL parser] The PDDL parser behaves correctly", "[PDDL parser]")
|
TEST_CASE("[parser basics] The PDDL parser behaves correctly", "[parser basics]")
|
||||||
{
|
{
|
||||||
pddl::Tokenizer tokenizer;
|
pddl::Tokenizer tokenizer;
|
||||||
pddl::Context context(std::move(tokenizer), ignoreWarnings);
|
pddl::Context context(std::move(tokenizer), ignoreWarnings);
|
||||||
@ -63,7 +63,7 @@ TEST_CASE("[PDDL parser] The PDDL parser behaves correctly", "[PDDL parser]")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("[PDDL parser] Syntax errors are correctly recognized", "[PDDL parser]")
|
TEST_CASE("[parser basics] Syntax errors are correctly recognized", "[parser basics]")
|
||||||
{
|
{
|
||||||
pddl::Tokenizer tokenizer;
|
pddl::Tokenizer tokenizer;
|
||||||
pddl::Context context(std::move(tokenizer), ignoreWarnings);
|
pddl::Context context(std::move(tokenizer), ignoreWarnings);
|
@ -12,7 +12,7 @@ const auto pddlInstanceBasePath = fs::path("data") / "pddl-instances";
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
TEST_CASE("[PDDL instances] The official PDDL instances are parsed correctly", "[PDDL instances]")
|
TEST_CASE("[parser correctness] The official PDDL instances are parsed correctly", "[parser correctness]")
|
||||||
{
|
{
|
||||||
pddl::Tokenizer tokenizer;
|
pddl::Tokenizer tokenizer;
|
||||||
pddl::Context context(std::move(tokenizer), ignoreWarnings);
|
pddl::Context context(std::move(tokenizer), ignoreWarnings);
|
@ -100,7 +100,7 @@ const std::set<std::experimental::filesystem::path> unsupportedInstances =
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
TEST_CASE("[PDDL acceptance] All official PDDL domains are parsed without errors", "[PDDL acceptance]")
|
TEST_CASE("[parser success] All official PDDL domains are parsed without errors", "[parser success]")
|
||||||
{
|
{
|
||||||
for (const auto &competitionDirectory : fs::directory_iterator(pddlInstanceBasePath))
|
for (const auto &competitionDirectory : fs::directory_iterator(pddlInstanceBasePath))
|
||||||
{
|
{
|
||||||
@ -134,7 +134,7 @@ TEST_CASE("[PDDL acceptance] All official PDDL domains are parsed without errors
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
TEST_CASE("[PDDL acceptance] The first instance for all official PDDL domains is parsed without errors", "[PDDL acceptance]")
|
TEST_CASE("[parser success] The first instance for all official PDDL domains is parsed without errors", "[parser success]")
|
||||||
{
|
{
|
||||||
for (const auto &competitionDirectory : fs::directory_iterator(pddlInstanceBasePath))
|
for (const auto &competitionDirectory : fs::directory_iterator(pddlInstanceBasePath))
|
||||||
{
|
{
|
@ -11,7 +11,7 @@ const pddl::Context::WarningCallback ignoreWarnings = [](const auto &, const aut
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
TEST_CASE("[PDDL signature matching] Predicate signatures are matched correctly", "[PDDL signature matching]")
|
TEST_CASE("[signature matching] Predicate signatures are matched correctly", "[signature matching]")
|
||||||
{
|
{
|
||||||
std::stringstream input;
|
std::stringstream input;
|
||||||
pddl::Tokenizer tokenizer;
|
pddl::Tokenizer tokenizer;
|
||||||
|
Reference in New Issue
Block a user