// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals endglobals native testFail takes string s returns nothing native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function main takes nothing returns nothing local integer i call initGlobals() set i = 2 if i != 2 then call testFail("wrong value") endif if i == 2 then call testSuccess() endif endfunction function config takes nothing returns nothing endfunction