Skip to content

Contract Unit Tests — RWA Mint #30

Description

@OlufunbiIK

Complexity: Medium

Problem: The RWAMint contract has no tests. Scope: Write unit tests for all methods in RWAMint covering mint, get, transfer-block, and burn scenarios.

Acceptance criteria: All tests pass with cargo test. Edge cases covered: duplicate mint, invalid owner burn, non-existent token.

Files to create:
contracts/rwa-mint/src/tests.rs
contracts/rwa-mint/tests/integration_test.rs

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions