Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ TestMain
Function
TestMain
plot/plot_test.go:16–19 ·
view source on GitHub ↗
(m *testing.M)
Source
from the content-addressed store, hash-verified
14
)
15
16
func
TestMain(m *testing.M) {
17
paint.FontLibrary.InitFontPaths(paint.FontPaths...)
18
os.Exit(m.Run())
19
}
20
21
func
TestPlot(t *testing.T) {
22
pt := 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