shithub: kwa

ref: 10e72d182aad860492f6ec2e80b0c05a4dc20b7a
dir: /test/t.assert/

View raw version
# tests whether function returns sensible type bits

function assert(cond) { # assertion
    if (!cond) print "   >>> assert failed <<<"
}

function i(x) { return x }

{ m = length($1); n = length($2); n = i(n); assert(m > n) }