wszystkie opcje
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Pakiet źródłowy: golang-github-issue9-assert  ]

Pakiet: golang-github-issue9-assert-dev (0.0~git20170908.0.ceac1aa-3)

Odnośniki dla golang-github-issue9-assert-dev

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego golang-github-issue9-assert:

Opiekun:

Zasoby zewnętrzne:

Podobne pakiety:

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
       }
   }

Pobieranie golang-github-issue9-assert-dev

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 10,3 KiB52,0 KiB [lista plików]