// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals endglobals function initGlobals takes nothing returns nothing endfunction function group_close takes group this returns nothing endfunction function group_hasNext takes group this returns boolean return FirstOfGroup(this) != null endfunction function group_iterator takes group this returns group return this endfunction function group_next takes group this returns unit local unit u = FirstOfGroup(this) call GroupRemoveUnit(this, u) return u endfunction function init_test takes nothing returns nothing local group iterator = group_iterator(null) loop exitwhen not group_hasNext(iterator) call group_next(iterator) endloop call group_close(iterator) endfunction function main takes nothing returns nothing call initGlobals() call init_test() endfunction function config takes nothing returns nothing endfunction