Skip to content

Commit

Permalink
fix addend_compressor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
desmonddak committed Nov 5, 2024
1 parent 13d4de4 commit 3dc669b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/arithmetic/addend_compressor_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ void main() {

const av = 3;
const bv = 6;
for (final signed in [true]) {
for (final signed in [false, true]) {
final bA = signed
? BigInt.from(av).toSigned(widthX)
: BigInt.from(av).toUnsigned(widthX);
Expand Down Expand Up @@ -208,7 +208,7 @@ void main() {

var av = 3;
const bv = 6;
for (final signed in [true]) {
for (final signed in [false, true]) {
var bA = signed
? BigInt.from(av).toSigned(widthX)
: BigInt.from(av).toUnsigned(widthX);
Expand Down Expand Up @@ -251,7 +251,7 @@ void main() {

const av = 37;
const bv = 6;
for (final signed in [true]) {
for (final signed in [false, true]) {
final bA = signed
? BigInt.from(av).toSigned(widthX)
: BigInt.from(av).toUnsigned(widthX);
Expand Down

0 comments on commit 3dc669b

Please sign in to comment.