* turn off blank-lines rule
* remove triple newlines
(cherry picked from commit 9b37104655)
18 lines
386 B
Solidity
18 lines
386 B
Solidity
pragma solidity ^0.4.24;
|
|
|
|
import "../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);
|
|
}
|
|
|
|
function average(uint256 a, uint256 b) public pure returns (uint256) {
|
|
return Math.average(a, b);
|
|
}
|
|
}
|