summaryrefslogtreecommitdiff
path: root/tests/ex.cc
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-03-30 22:35:06 -0400
committerGitHub <noreply@github.com>2025-03-30 22:35:06 -0400
commit44cb9d396b909c84ef7ad3338e0a12cfcc082748 (patch)
treeb080d1ad4989ab5f5848d9571b01c0fc505b136a /tests/ex.cc
parent52e1ca72925444b8e5a9bb5b240a4063a4d7b958 (diff)
parent723d582d1108975caf071a76c1556a01fb0553d1 (diff)
Merge pull request #43 from bdunahu/bdunahu
Sanity check for pipeline up to exe
Diffstat (limited to 'tests/ex.cc')
-rw-r--r--tests/ex.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/ex.cc b/tests/ex.cc
index 9def9fe..9543c66 100644
--- a/tests/ex.cc
+++ b/tests/ex.cc
@@ -476,8 +476,7 @@ TEST_CASE_METHOD(EXFixture, "SUBI within bounds", "[ex]")
InstrDTO *i;
m = SUBI;
- s1 = 200, s2 = 0;
- s3 = 131;
+ s1 = 200, s2 = 0, s3 = 131;
i = execute_instr(s1, s2, s3, m);
CHECK(i->get_s1() == 69);
@@ -641,7 +640,7 @@ TEST_CASE_METHOD(EXFixture, "JRL", "[ex]")
InstrDTO *i;
m = JRL;
- s1 = 100, s2 = -42027, s3;
+ s1 = 100, s2 = -42027, s3 = 0;
this->ct->set_pc(42096);
i = execute_instr(s1, s2, s3, m);