Added some unit tests for the simplification procedure.

This commit is contained in:
2017-03-23 15:10:51 +01:00
parent cae0948763
commit 32e6301b5e
2 changed files with 46 additions and 1 deletions

View File

@@ -14,7 +14,8 @@ TEST_CASE("[translation] Rules are translated correctly", "[translation]")
std::stringstream errors;
anthem::output::Logger logger(output, errors);
anthem::Context context = {logger, {}, 1};
anthem::Context context = {logger, {}};
context.simplify = false;
SECTION("simple example 1")
{