shithub: kwa

ref: 2af227c88bbcf8d6c52eb5b3b3a677d88a281774
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) }