Files
openzeppelin-contracts/contracts/mocks/MathMock.sol
Francisco Giordano bf34911857 Remove Math.min64 and Math.max64 (#1156)
* remove Math.min64 and Math.max64

* refactor Math tests to use return values

* enhance Math coverage
2018-08-06 15:18:19 -03:00

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);
}
}