Try get embark coverage working WIP

This commit is contained in:
Andy Tudhope 2019-04-10 10:33:01 +02:00
parent 26dbfbfcbe
commit 9216468a32
No known key found for this signature in database
GPG Key ID: 02A3DFA93BF26AD2
4 changed files with 6 additions and 4 deletions

View File

@ -268,11 +268,12 @@ contract BancorFormula {
while (lo + 1 < hi) {
uint8 mid = (lo + hi) / 2;
if (maxExpArray[mid] >= _x)
if (maxExpArray[mid] >= _x) {
lo = mid;
else
} else {
hi = mid;
}
}
if (maxExpArray[hi] >= _x)
return hi;

View File

@ -1,6 +1,6 @@
pragma solidity ^0.5.2;
import "../token/ERC20Token.sol";
import "./ERC20Token.sol";
contract MiniMeTokenInterface is ERC20Token {

View File

@ -32,7 +32,8 @@ config({
"DAppStore": {
args: [ "$SNT" ]
},
"TestBancorFormula": { }
"TestBancorFormula": { },
"Controlled": { }
}
}, (_err, web3_accounts) => {
accounts = web3_accounts