[ 源代码: golang-github-issue9-assert ]
软件包:golang-github-issue9-assert-dev(0.0~git20170908.0.ceac1aa-5.1)
golang-github-issue9-assert-dev 的相关链接
Debian 的资源:
下载源码包 golang-github-issue9-assert:
- [golang-github-issue9-assert_0.0~git20170908.0.ceac1aa-5.1.dsc]
- [golang-github-issue9-assert_0.0~git20170908.0.ceac1aa.orig.tar.xz]
- [golang-github-issue9-assert_0.0~git20170908.0.ceac1aa-5.1.debian.tar.xz]
维护者:
外部的资源:
- 主页 [github.com]
相似软件包:
Simple extension to test a series of assert functions
The issue9-assert library provides a simple extension to testing that provides a series of assert functions that are convenient for use in test functions
Example:
func TestA(t testing.T) { v := true assert.True(v) a := assert.New(t) a.True(v) } // Can also be used for testing.B func Benchmark1(b *testing.B) { a := assert.New(b) v := false a.True(v) for(i:=0; i<b.N; i++) { // do something } }