testCount = 0
function assert(a) {
  testCount++
  if (!a)
    throw new Error("Assertion failed")
}
function assertEqual(a, b) {
  testCount++
  if (!lodash.isEqual(a, b))
    throw new Error(
        'Assertion failed, not equals: ' +
        `${util.inspect(a)} != ${util.inspect(b)}`)
}
