Get each variable value fromBasically the result inside an object andit gives you back is truffle, you can either use explode to compare thatthe result with expected in terms or object with values/array. But you access the result like the following -
basecontract.getInfo("1",function(error,data){
// data returns a tuple
var rowdata = data.toString().split(',')
// you can access the values through array rowdata[0]
// do the comparison
})