Skip to content

Commit 48ee270

Browse files
update tests
1 parent f958215 commit 48ee270

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sdk/src/browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export {
101101
U16,
102102
U32,
103103
U64,
104-
U128
104+
U128,
105105
VerifyingKey,
106106
ViewKey,
107107
initThreadPool,

sdk/tests/arithmetic.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ describe('Field and Group Arithmetic Tests', () => {
117117
const prod = i8.mulWrapped(i8);
118118
const quot = i8.divWrapped(i8);
119119

120-
expect(sum).to.not.be.undefined;
121-
expect(diff).to.not.be.undefined;
122-
expect(prod).to.not.be.undefined;
123-
expect(quot).to.not.be.undefined;
120+
expect(sum.toString()).equals("84i8");
121+
expect(diff.toString()).equals("0i8");
122+
expect(prod.toString()).equals("1764i8");
123+
expect(quot.toString()).equals("1i8");
124124
});
125125

126126
it('Check scalar field arithmetic', () => {

0 commit comments

Comments
 (0)