Renamed internal variables for clarity.
This commit is contained in:
@@ -16,8 +16,8 @@ TEST_CASE("[completion] Rules are completed", "[completion]")
|
||||
|
||||
anthem::output::Logger logger(output, errors);
|
||||
anthem::Context context(std::move(logger));
|
||||
context.simplify = true;
|
||||
context.complete = true;
|
||||
context.performSimplification = true;
|
||||
context.performCompletion = true;
|
||||
|
||||
SECTION("predicate in single rule head")
|
||||
{
|
||||
|
@@ -16,8 +16,8 @@ TEST_CASE("[hidden predicate elimination] Hidden predicates are correctly elimin
|
||||
|
||||
anthem::output::Logger logger(output, errors);
|
||||
anthem::Context context(std::move(logger));
|
||||
context.simplify = true;
|
||||
context.complete = true;
|
||||
context.performSimplification = true;
|
||||
context.performCompletion = true;
|
||||
|
||||
SECTION("simple example (positive 0-ary predicate)")
|
||||
{
|
||||
|
@@ -16,8 +16,8 @@ TEST_CASE("[simplification] Rules are simplified correctly", "[simplification]")
|
||||
|
||||
anthem::output::Logger logger(output, errors);
|
||||
anthem::Context context(std::move(logger));
|
||||
context.simplify = true;
|
||||
context.complete = false;
|
||||
context.performSimplification = true;
|
||||
context.performCompletion = false;
|
||||
|
||||
SECTION("example 1")
|
||||
{
|
||||
|
@@ -16,8 +16,8 @@ TEST_CASE("[translation] Rules are translated correctly", "[translation]")
|
||||
|
||||
anthem::output::Logger logger(output, errors);
|
||||
anthem::Context context(std::move(logger));
|
||||
context.simplify = false;
|
||||
context.complete = false;
|
||||
context.performSimplification = false;
|
||||
context.performCompletion = false;
|
||||
|
||||
SECTION("simple example 1")
|
||||
{
|
||||
|
Reference in New Issue
Block a user