From 41674dbd43662ba3902baede1e1dcec6861ea48a Mon Sep 17 00:00:00 2001 From: Ivo Kubjas Date: Wed, 15 Jan 2025 00:19:23 +0000 Subject: [PATCH] feat: generate all cases for 1-5 input pairs --- .../zkevm/prover/ecpair/testdata/testdata_generator_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/prover/zkevm/prover/ecpair/testdata/testdata_generator_test.go b/prover/zkevm/prover/ecpair/testdata/testdata_generator_test.go index c249986cc..5fde768b3 100644 --- a/prover/zkevm/prover/ecpair/testdata/testdata_generator_test.go +++ b/prover/zkevm/prover/ecpair/testdata/testdata_generator_test.go @@ -543,7 +543,10 @@ func generateTestCases(length int) []testCase { } func TestGenerateECPairTestCases(t *testing.T) { - generatedCases := generateTestCases(3) + var generatedCases []testCase + for i := 1; i <= 5; i++ { + generatedCases = append(generatedCases, generateTestCases(i)...) + } for i, tc := range generatedCases { f, err := os.Create(fmt.Sprintf("generated/case-%06d_input.csv", i+1)) if err != nil {