Add the test for off_by=-1
This commit is contained in:
parent
2aab5365da
commit
c6add6fe9d
1 changed files with 1 additions and 2 deletions
|
|
@ -180,8 +180,7 @@ TEST_CASE("[Region] Parsing opcodes")
|
||||||
REQUIRE(region.offBy);
|
REQUIRE(region.offBy);
|
||||||
REQUIRE(*region.offBy == 5);
|
REQUIRE(*region.offBy == 5);
|
||||||
region.parseOpcode({ "off_by", "-1" });
|
region.parseOpcode({ "off_by", "-1" });
|
||||||
REQUIRE(region.offBy);
|
REQUIRE(!region.offBy);
|
||||||
REQUIRE(*region.offBy == 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTION("off_mode")
|
SECTION("off_mode")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue