Renaming to not confuse expression simplification and reduction.

This commit is contained in:
2016-09-05 00:06:09 +02:00
parent dd621fcd5c
commit 79d449d0df
11 changed files with 22 additions and 22 deletions

View File

@@ -10,7 +10,7 @@ using namespace plasp::pddl;
////////////////////////////////////////////////////////////////////////////////////////////////////
TEST(PDDLNormalizationTests, Simplify)
TEST(PDDLNormalizationTests, Reduced)
{
auto n1 = expressions::NotPointer(new expressions::Not);
auto n2 = expressions::NotPointer(new expressions::Not);
@@ -31,7 +31,7 @@ TEST(PDDLNormalizationTests, Simplify)
n1->setArgument(n2);
std::stringstream output;
n1->simplified()->print(output);
n1->reduced()->print(output);
ASSERT_EQ(output.str(), "(not (not (and (or (or (not (a)) (b)) (c)) (d))))");
}