Refactored PDDL parser to make all input case-insensitive.

This commit is contained in:
2016-06-04 18:28:43 +02:00
parent d64c68f754
commit e607ca4e8e
10 changed files with 26 additions and 22 deletions

View File

@@ -58,7 +58,7 @@ TEST_F(PDDLParserTests, ParseBlocksWorldDomain)
const auto &domain = description.domain();
// Name
ASSERT_EQ(domain.name(), "BLOCKS");
ASSERT_EQ(domain.name(), "blocks");
// Requirements
ASSERT_EQ(domain.requirements().size(), 2u);
@@ -113,7 +113,7 @@ TEST_F(PDDLParserTests, ParseStorageDomain)
const auto &domain = description.domain();
// Name
ASSERT_EQ(domain.name(), "Storage-Propositional");
ASSERT_EQ(domain.name(), "storage-propositional");
// Requirements
ASSERT_EQ(domain.requirements().size(), 1u);