Skip to content

Hardcode random seed used for wpimath tests #7381

Open
@calcmogul

Description

@calcmogul

The tests often use physics sim classes that inject measurement noise. We should hardcode the random seed so the tests are deterministic. This will eliminate a source of test flakiness we've been seeing.

The seed could probably be set in wpimath/src/test/native/cpp/main.cpp before the tests are run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: wpimathMath librarytype: fixIterations on existing features or infrastructure.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions