如何对 forexample() 函数进行单元测试以确保在延迟时间内调用该函数?
private var done : Boolean;
private function forexample():void
{
done = false;
TweenMax.delayedCall(3 , toBeCalledFunctionNane);
}
private function toBeCalledFunctionNane():void
{
done = true;
}