--log('hello test case')
function check(output, ...)
local s = tostring(solution(...))
local inputs = table.concat({...}, ", ")
if s == output then
log("OK: "..inputs.." => "..output)
else
log("Oops: "..inputs.." => "..s.." (expected: "..output..")")
error("verification failed")
end
end
i = [[
]]
o = [[
]]
check(o, i, "copy src to href")
return true -- hmm. so easy to forget... but we need it!