...
1
2
3
4
5 package plotter_test
6
7 import (
8 "testing"
9
10 "gonum.org/v1/plot/cmpimg"
11 )
12
13 func TestColorBar_horizontal(t *testing.T) {
14 cmpimg.CheckPlot(ExampleColorBar_horizontal, t, "colorBarHorizontal.png")
15 }
16
17 func TestColorBar_horizontal_log(t *testing.T) {
18 cmpimg.CheckPlot(ExampleColorBar_horizontal_log, t, "colorBarHorizontalLog.png")
19 }
20
21 func TestColorBar_vertical(t *testing.T) {
22 cmpimg.CheckPlot(ExampleColorBar_vertical, t, "colorBarVertical.png")
23 }
24
View as plain text