Skip to content

test(invoice): add invalid amount matrix tests#200

Closed
dreamgeneX wants to merge 1 commit into
mainfrom
test/95-invoice-invalid-amount-matrix
Closed

test(invoice): add invalid amount matrix tests#200
dreamgeneX wants to merge 1 commit into
mainfrom
test/95-invoice-invalid-amount-matrix

Conversation

@dreamgeneX

Copy link
Copy Markdown
Contributor

Adds systematic matrix of invalid amount tests covering zero, negative, overflow, and precision violation inputs with correct error variant assertions.

Closes #95

Systematic matrix covering zero, negative, i128::MIN, gross<amount,
and overflow boundary inputs; all assert InvalidAmount is returned.

Closes #95

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dreamgeneX dreamgeneX closed this Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Testing][Invoice] Add invalid amount matrix tests

1 participant