> For the complete documentation index, see [llms.txt](https://contracts.synapseprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://contracts.synapseprotocol.com/amm/helper/test/testmathutils.md).

# TestMathUtils

## Methods

### difference

```solidity
function difference(uint256 a, uint256 b) external pure returns (uint256)
```

#### Parameters

| Name | Type    | Description |
| ---- | ------- | ----------- |
| a    | uint256 | undefined   |
| b    | uint256 | undefined   |

#### Returns

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \_0  | uint256 | undefined   |

### within1

```solidity
function within1(uint256 a, uint256 b) external pure returns (bool)
```

#### Parameters

| Name | Type    | Description |
| ---- | ------- | ----------- |
| a    | uint256 | undefined   |
| b    | uint256 | undefined   |

#### Returns

| Name | Type | Description |
| ---- | ---- | ----------- |
| \_0  | bool | undefined   |
