Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.14 KB

README.adoc

File metadata and controls

24 lines (17 loc) · 1.14 KB

Gomega Matchers for Decimal

GitHub go.mod Go version godoc reference blue GitHub Release codecov Go Report Card

These package providers are some helpful Gomega matchers that help you write effective assertions against Decimal

Matchers

BeDecimalEquivalentTo, BeDecimalGreaterThan, BeDecimalGreaterThanOrEqual, BeDecimalLessThan, BeDecimalLessThanOrEqual

Matches can accept Decimal and strings for both the actual and the expected value

Sample

matchers_example_test.go - Link, since GitHub does not support include for AsciiDoc

link:matchers_example_test.go[role=include]