[ Source: golang-github-issue9-assert ]
Package: golang-github-issue9-assert-dev (0.0~git20170908.0.ceac1aa-3)
Links for golang-github-issue9-assert-dev
Debian Resources:
Download Source Package golang-github-issue9-assert:
- [golang-github-issue9-assert_0.0~git20170908.0.ceac1aa-3.dsc]
- [golang-github-issue9-assert_0.0~git20170908.0.ceac1aa.orig.tar.xz]
- [golang-github-issue9-assert_0.0~git20170908.0.ceac1aa-3.debian.tar.xz]
Maintainer:
External Resources:
- Homepage [github.com]
Similar packages:
semplice estensione per testare una serie di funzioni assert
La libreria issue9-assert fornisce una semplice estensione a testing che fornisce una serie di funzioni assert che sono comode da usare in funzioni di test.
Esempio:
func TestA(t testing.T) { v := true assert.True(v) a := assert.New(t) a.True(v) } // Utilizzabile anche per testing.B func Benchmark1(b *testing.B) { a := assert.New(b) v := false a.True(v) for(i:=0; i<b.N; i++) { // fa qualcosa } }
Download golang-github-issue9-assert-dev
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 10.3 kB | 52.0 kB | [list of files] |