Skip to content

test: large-map correctness tests (10k+ entries) for Len/Keys/Values/Map #46

Open

Description

@millerjp

Summary

Len, Keys, Values, Map are benchmarked at 1000 entries but correctness-tested only at ≤ 5 entries. A future optimisation using a fixed-size sink could silently truncate and unit tests wouldn't catch it.

Scope

TestLen_LargeMap, TestKeys_LargeMap, TestValues_LargeMap, TestMap_LargeMap — each seeds 10 000 entries and asserts the return matches the seed exactly (length, set membership).

Acceptance criteria

  1. Four tests, each parallel, each under 1 s.
  2. -race clean.

Source: test-analyst.

Activity

  1. added this to the v1.0.1 milestone on Apr 21, 2026
  2. added
    testingTests: unit, BDD, benchmarks, fuzz
    P1Important, not blocking
    on Apr 21, 2026
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

    P1Important, not blockingtestingTests: unit, BDD, benchmarks, fuzz

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions