Skip to content

Commit 5764346

Browse files
test all pows
1 parent da463b3 commit 5764346

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk/tests/arithmetic.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ describe('Field and Group Arithmetic Tests', () => {
9898

9999
it('Check integer serialization and arithmetic', () => {
100100
const i8 = I8.fromString("42i8");
101-
const i8Neg = i8.absChecked().neg();
102101
const i8Clone = i8.clone();
103102

104103
expect(i8.toString()).equals("42i8");
@@ -143,6 +142,8 @@ describe('Field and Group Arithmetic Tests', () => {
143142

144143
const base = I8.fromString("2i8");
145144
expect(base.powU8(U8.fromString("3u8")).toString()).equal("8i8");
145+
expect(base.powU16(U16.fromString("3u16")).toString()).equal("8i8");
146+
expect(base.powU32(U32.fromString("3u32")).toString()).equal("8i8");
146147
});
147148

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

0 commit comments

Comments
 (0)