☰
Debian Codegraph
@
0.22.0+ds1-1
0.21.0+ds1-1
/
/
cpu_test.go
☽
☼
cpu_test.go
code
plain
raw
symbols
SCIP
Expat
2017 Nathan Sweet; 2018-2019 Cloudflare; 2019 Cilium
debian/copyright
1
package
ebpf
2
3
import
(
4
"testing"
5
6
"github.com/go-quicktest/qt"
7
)
8
9
func
TestPossibleCPU(t *testing.
T
) {
10
num, err := PossibleCPU()
11
qt.
Assert
(t, qt.
IsNil
(err))
12
qt.
Assert
(t, qt.
IsTrue
(num >
0
))
13
}