* remove Math.min64 and Math.max64 * refactor Math tests to use return values * enhance Math coverage
16 lines
300 B
Solidity
16 lines
300 B
Solidity
pragma solidity ^0.4.24;
|
|
|
|
|
|
import "../../contracts/math/Math.sol";
|
|
|
|
|
|
contract MathMock {
|
|
function max(uint256 _a, uint256 _b) public pure returns (uint256) {
|
|
return Math.max(_a, _b);
|
|
}
|
|
|
|
function min(uint256 _a, uint256 _b) public pure returns (uint256) {
|
|
return Math.min(_a, _b);
|
|
}
|
|
}
|