AnyNumber
Matches a number following RFC 8259 JSON.
- Typescript
- Java
import { matchers } from '@contract-case/case-definition-dsl'
new matchers.primitives.AnyNumber(example: number)
Parameters
Name | Type | Description |
---|---|---|
example | number | An example number. |
import io.contract_testing.contractcase.definitions.matchers.primitives.AnyNumber;
new AnyNumber(java.lang.Number example);
Parameters
Name | Type | Description |
---|---|---|
example | java.lang.Number | An example number. |