Skip to content

Add unit tests for creator supply read after multiple sequential buys #274

@Chucks1093

Description

@Chucks1093

Summary
The creator supply read method is unit-tested in isolation, but not across a sequence of buys that each increment supply. A sequential buy test confirms the supply accumulates correctly and matches the sum of all purchase amounts.

Scope

  • add a unit test that performs three or more sequential buys and reads supply after each one
  • assert supply after each buy equals the cumulative total of amounts purchased
  • assert the final supply matches the sum of all individual buy amounts

Acceptance Criteria

  • supply increments correctly after each sequential buy
  • the final supply equals the sum of all buy amounts in the sequence
  • the test uses the existing buy fixture conventions

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions