Adapt tests to the recent width fix

This commit is contained in:
Jean Pierre Cimalando 2020-03-18 21:39:42 +01:00
parent b551716b08
commit 18382917c6

View file

@ -470,7 +470,7 @@ TEST_CASE("[Region] Parsing opcodes")
SECTION("width") SECTION("width")
{ {
REQUIRE(region.width == 0.0f); REQUIRE(region.width == 100.0f);
region.parseOpcode({ "width", "4.2" }); region.parseOpcode({ "width", "4.2" });
REQUIRE(region.width == 4.2f); REQUIRE(region.width == 4.2f);
region.parseOpcode({ "width", "-4.2" }); region.parseOpcode({ "width", "-4.2" });