Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ TestMain
Function
TestMain
plot/plots/plot_test.go:20–23 ·
view source on GitHub ↗
(m *testing.M)
Source
from the content-addressed store, hash-verified
18
)
19
20
func
TestMain(m *testing.M) {
21
paint.FontLibrary.InitFontPaths(paint.FontPaths...)
22
os.Exit(m.Run())
23
}
24
25
func
TestLine(t *testing.T) {
26
pt := plot.New()
Callers
nothing calls this directly
Calls
3
Exit
Method · 0.80
InitFontPaths
Method · 0.45
Run
Method · 0.45
Tested by
no test coverage detected