diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/controller.cc | 2 | ||||
-rw-r--r-- | tests/id.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/controller.cc b/tests/controller.cc index 74284b7..6920933 100644 --- a/tests/controller.cc +++ b/tests/controller.cc @@ -311,7 +311,7 @@ TEST_CASE_METHOD(ControllerPipeFixture, "two num adder", "[full pipe]") CHECK(i->get_time_of(MEM) == 28); CHECK(i->get_time_of(WRITE) == 29); CHECK(i->get_s1() == 0x8); - CHECK(i->get_s2() == 0b111111111111111111001); + CHECK(i->get_s2() == 0xfffffff9); CHECK(this->ct->get_gprs().at(2) == 0x200); CHECK(this->ct->get_gprs().at(5) == 0x0); CHECK(this->ct->get_gprs().at(6) == 0x1); diff --git a/tests/id.cc b/tests/id.cc index b8d0479..5af15fc 100644 --- a/tests/id.cc +++ b/tests/id.cc @@ -185,7 +185,7 @@ TEST_CASE_METHOD(IDFixture, "Parse arbitrary j-type # two", "[id]") i = this->decode_bits(t); CHECK(i->get_s1() == 0x00000000); // registers are empty - CHECK(i->get_s2() == 0xBBCCF); + CHECK(i->get_s2() == 0xFFFBBCCF); CHECK(i->get_mnemonic() == JAL); delete i; |