pragma solidity ^0.5.2; import "./BancorFormula.sol"; contract TestBancorFormula is BancorFormula { function powerTest( uint256 _baseN, uint256 _baseD, uint32 _expN, uint32 _expD) external view returns (uint256, uint8) { return super.power( _baseN, _baseD, _expN, _expD); } function generalLogTest(uint256 x) external pure returns (uint256) { return super.generalLog(x); } function floorLog2Test(uint256 _n) external pure returns (uint8) { return super.floorLog2(_n); } function findPositionInMaxExpArrayTest(uint256 _x) external view returns (uint8) { return super.findPositionInMaxExpArray(_x); } function generalExpTest(uint256 _x, uint8 _precision) external pure returns (uint256) { return super.generalExp(_x, _precision); } function optimalLogTest(uint256 x) external pure returns (uint256) { return super.optimalLog(x); } function optimalExpTest(uint256 x) external pure returns (uint256) { return super.optimalExp(x); } }