Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fuzzing tests for vector operations #666

Closed
wants to merge 3 commits into from

Conversation

VolodymyrBg
Copy link

Description

This PR adds fuzzing tests for vector operations in different field packages. The tests verify that vector operations work correctly under a variety of inputs and edge cases. The implementation adds comprehensive fuzzing tests for fundamental vector operations (Add, Sub, Mul, ScalarMul, Sum, InnerProduct) across multiple field implementations.

This implements issue #614, which requested additional fuzzing for vector operations, as they were previously under-tested.

Type of change

  • New feature (non-breaking change which adds functionality)

How has this been tested?

  • Manual execution of the fuzzing test function via TestFuzzVectorManual
  • Existing vector operation tests still pass

How has this been benchmarked?

No specific benchmarks were added as these are test functions. The existing benchmarks for vector operations still run correctly.

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • I did not modify files generated from templates
  • golangci-lint does not output errors locally
  • New and existing unit tests pass locally with my changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant