// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1366 globals endglobals native testSuccess takes nothing returns nothing function f takes integer n returns integer if n <= 0 then return 0 endif return n + f(n - 1) endfunction function initGlobals takes nothing returns nothing endfunction function main takes nothing returns nothing call initGlobals() if 5050 == f(100) then call testSuccess() endif endfunction function config takes nothing returns nothing endfunction