Skip to content

Commit

Permalink
feat: generate all cases for 1-5 input pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokub committed Jan 15, 2025
1 parent 874ec8e commit 41674db
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 41674db

Please sign in to comment.