diff --git a/prover/zkevm/prover/ecpair/ecpair_with_circuit_test.go b/prover/zkevm/prover/ecpair/ecpair_with_circuit_test.go index f7df56d7f..e59d307c0 100644 --- a/prover/zkevm/prover/ecpair/ecpair_with_circuit_test.go +++ b/prover/zkevm/prover/ecpair/ecpair_with_circuit_test.go @@ -17,3 +17,22 @@ func TestMembershipCircuit(t *testing.T) { testModule(t, tc, false, true, false, true) } } + +func TestGeneratedData(t *testing.T) { + var generatedData []pairingDataTestCase + filepath.Walk("testdata/generated", func(path string, info os.FileInfo, err error) error { + if strings.HasSuffix(path, "input.csv") { + tc := pairingDataTestCase{ + InputFName: path, + NbMillerLoops: 5, + NbFinalExps: 1, + NbSubgroupChecks: 5, + } + generatedData = append(generatedData, tc) + } + return nil + }) + for _, tc := range generatedData { + testModule(t, tc, true, true, true, true) + } +}