Skip to content

Commit

Permalink
test: add Goldilocks tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokub committed Jul 6, 2022
1 parent 8b0e498 commit a6652f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions std/math/nonnative/variable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ func emulatedFields(t *testing.T) []emulatedField {
}
ret = append(ret, emulatedField{secp256k1fp, "secp256k1"})
}
goldilocks, err := NewParams(64, new(big.Int).SetBytes([]byte{0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x01}))
if err != nil {
t.Fatal(err)
}
ret = append(ret, emulatedField{goldilocks, "goldilocks"})
return ret
}

Expand Down

0 comments on commit a6652f2

Please sign in to comment.