infrastructure-upgrade/lib/v3-core/contracts/test/FullMathTest.sol
T-Hax 735546619e
init
Signed-off-by: T-Hax <>
2023-04-08 18:46:18 +00:00

23 lines
476 B
Solidity

// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
import '../libraries/FullMath.sol';
contract FullMathTest {
function mulDiv(
uint256 x,
uint256 y,
uint256 z
) external pure returns (uint256) {
return FullMath.mulDiv(x, y, z);
}
function mulDivRoundingUp(
uint256 x,
uint256 y,
uint256 z
) external pure returns (uint256) {
return FullMath.mulDivRoundingUp(x, y, z);
}
}