Skip to content

Add parser unit test for a new OCR typo from live logs #3

Description

@sbrants

Summary

WaveTrace's parser (src-tauri/src/parser.rs) grows through real OCR quirks seen in live scanner logs. Adding a focused unit test is a good first Rust contribution.

Task

  1. Pick an OCR string variant that is not yet covered (search parser.rs tests for ocr_quirks, live_ocr, wave_skip_ocr_typos).
  2. Add a table-driven test case with the expected CoinReading, tier, or wave parse result.
  3. If the parser does not handle the case yet, implement the minimal fix and cite the game/OCR context in the test name.

No game window or fixture capture required — unit tests only.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions