Skip to content

Unit tests for PrngService #222

@Otaiki1

Description

@Otaiki1

Context

PRNG should be deterministic and unbiased.

Goal

Add tests for randomness distribution and seeding.

Contributor guide

  1. Directory: oracle/
  2. Verify same input produces same output.
  3. Run basic statistical tests for bias on large sample.
  4. Test with various request_ids and nonces.
  5. Assert output length matches contract requirements.

References

  • PRNG testing best practices.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions