Skip to content

Commit

Permalink
Updated test cases to reflect branch instruction changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Geetis committed Mar 29, 2024
1 parent 9920485 commit dc7adcf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/tests/parser/parser_assembler_main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ mod read_riscv_instructions_tests {

assert_eq!(
instruction_list[0].binary,
0b00000000000100010000000011100011
0b00000000001000010000000011100011
);
}

Expand All @@ -399,7 +399,7 @@ mod read_riscv_instructions_tests {

assert_eq!(
instruction_list[0].binary,
0b00000000000100010001000011100011
0b00000000001000010001000011100011
);
}

Expand All @@ -411,7 +411,7 @@ mod read_riscv_instructions_tests {

assert_eq!(
instruction_list[0].binary,
0b00000000000100010100000011100011
0b00000000001000010100000011100011
);
}

Expand All @@ -423,7 +423,7 @@ mod read_riscv_instructions_tests {

assert_eq!(
instruction_list[0].binary,
0b00000000000100010101000011100011
0b00000000001000010101000011100011
);
}

Expand All @@ -435,7 +435,7 @@ mod read_riscv_instructions_tests {

assert_eq!(
instruction_list[0].binary,
0b00000000000100010110000011100011
0b00000000001000010110000011100011
);
}

Expand All @@ -447,7 +447,7 @@ mod read_riscv_instructions_tests {

assert_eq!(
instruction_list[0].binary,
0b00000000000100010111000011100011
0b00000000001000010111000011100011
);
}

Expand Down

0 comments on commit dc7adcf

Please sign in to comment.