// 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 a local integer i call initGlobals() set a = 2 set i = a if i != 2 then call testFail("wrong value") endif if i == 2 then call testSuccess() endif endfunction function config takes nothing returns nothing endfunction