1 Star 0 Fork 0

前方 / helper

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
helper_test.go 378 Bytes
一键复制 编辑 原始数据 按行查看 历史
前方 提交于 2020-03-30 14:55 . 添加一些常用函数
package helper
import (
"fmt"
"testing"
)
func TestESQueue(t *testing.T) {
esq := NewQueue(171)
fmt.Println(esq.Put(1))
fmt.Println(esq.Put(2))
fmt.Println(esq.Put(3))
fmt.Println(esq.Put(4))
fmt.Println(esq.Put(5))
fmt.Println(esq.Put(6))
fmt.Println(esq.Put(7))
fmt.Println(esq.Put(8))
fmt.Println(esq.String())
fmt.Println(esq.Get())
fmt.Println(esq.Get())
}
Go
1
https://gitee.com/spchziee/helper.git
git@gitee.com:spchziee/helper.git
spchziee
helper
helper
master

搜索帮助