You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
300 B

  1. package externalVerif
  2. import (
  3. "testing"
  4. "github.com/stretchr/testify/assert"
  5. )
  6. func TestVerifyFromCircom(t *testing.T) {
  7. verified, err := VerifyFromCircom("circom-test/verification_key.json", "circom-test/proof.json", "circom-test/public.json")
  8. assert.Nil(t, err)
  9. assert.True(t, verified)
  10. }