I have a function that returns multiple values
function getInfo(string id) returns(string x,string y){ bytes32 _id= strToBytes(id);
return (infostruct[_id].x,infostruct[_id].y) ; }
Now i want to test this function using solidity test in truffle
function testBaseContract(){
BaseContract basecontract= BaseContract(DeployedAddresses.BaseContract());
var (x,y) = basecontract.getInfo("1");
Assert.equal(x,"198/180","this id data is not accessible to you or doesn't exist at all.");
}
i don't know how to access multiple return values in solidity, this was my best guess and I am getting the error
TypeError: Member "equal" is not available in type(library Assert) outside of storage.