Skip to content

add property tests for GCounter merge laws #131

Description

@GianIac

If you'd like to help with Numax, this is a great place to start, thank you so much for taking a look !

Extend CRDT property tests with GCounter merge-law coverage.

Why

  • property tests currently emphasize some CRDT families but not all equally
  • GCounter is foundational and ideal for newcomer-friendly CRDT testing
  • this improves correctness confidence with focused test work

Scope

  • update crates/nx-sync/tests/crdt_properties.rs
  • add property tests for GCounter covering commutativity, associativity, idempotence
  • include serialization roundtrip checks if consistent with existing patterns

Done when

  • cargo test -p nx-sync passes with new GCounter property coverage
  • tests are deterministic and follow current test style
  • no production-code behavior changes are needed

Notes

Please keep generators small and execution time reasonable.

Thanks again for considering contributing to Numax.

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