MCPcopy 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
16func TestMain(m *testing.M) {
17 paint.FontLibrary.InitFontPaths(paint.FontPaths...)
18 os.Exit(m.Run())
19}
20
21func TestPlot(t *testing.T) {
22 pt := New()

Callers

nothing calls this directly

Calls 3

ExitMethod · 0.80
InitFontPathsMethod · 0.45
RunMethod · 0.45

Tested by

no test coverage detected