You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: timer_test.go
    path of file: ./repos/cellnet/tests
    
    the code of the file until where you have to start completion: package tests

import (
	"testing"
	"time"

	"github.com/davyxu/cellnet"
	"github.com/davyxu/cellnet/timer"
)

func TestAfterTimer(t *testing.T) {

	signal := NewSignalTester(t)

	queue 
    
func TestLoopTimer(t *testing.T) {

	signal := NewSignalTester(t)
	signal.SetTimeout(60 * time.Second)

	queue := cellnet.NewEventQueue()

	// 启动消息循环
	queue.StartLoop()

	var count int

	// 启动计时循环
	timer.NewLoop(queue, time.Millisecond*10, func(ctx *timer.Loop) {

		log.Debugln("tick 10 ms", count)

		count++

		if count >= 10 {
			signal.Done(1)
			ctx.Stop()
		}
	}, nil).Start()

	signal.WaitAndExpect("10ms * 10 times ticker not done", 1)
}