mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
openzeppelin-contracts/test/helpers/SafeMathMock.sol

21 lines
344 B

pragma solidity ^0.4.11;
import '../../contracts/math/SafeMath.sol';
contract SafeMathMock {
uint public result;
function multiply(uint a, uint b) {
result = SafeMath.mul(a, b);
}
function subtract(uint a, uint b) {
result = SafeMath.sub(a, b);
}
function add(uint a, uint b) {
result = SafeMath.add(a, b);
}
}