MCPcopy 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
20func TestMain(m *testing.M) {
21 paint.FontLibrary.InitFontPaths(paint.FontPaths...)
22 os.Exit(m.Run())
23}
24
25func TestLine(t *testing.T) {
26 pt := plot.New()

Callers

nothing calls this directly

Calls 3

ExitMethod · 0.80
InitFontPathsMethod · 0.45
RunMethod · 0.45

Tested by

no test coverage detected