Add the test for off_by=-1

This commit is contained in:
Jean Pierre Cimalando 2020-05-15 13:17:12 +02:00
parent 2aab5365da
commit c6add6fe9d

View file

@ -180,8 +180,7 @@ TEST_CASE("[Region] Parsing opcodes")
REQUIRE(region.offBy);
REQUIRE(*region.offBy == 5);
region.parseOpcode({ "off_by", "-1" });
REQUIRE(region.offBy);
REQUIRE(*region.offBy == 0);
REQUIRE(!region.offBy);
}
SECTION("off_mode")