go-hep.org/x/hep@v0.38.1/hplot/tiledplot_test.go (about) 1 // Copyright ©2016 The go-hep Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package hplot_test 6 7 import ( 8 "testing" 9 10 "gonum.org/v1/plot/cmpimg" 11 ) 12 13 func TestTiledPlot(t *testing.T) { 14 checkPlot(cmpimg.CheckPlot)(ExampleTiledPlot, t, "tiled_plot_histogram.png") 15 } 16 17 func TestTiledPlotAlign(t *testing.T) { 18 checkPlot(cmpimg.CheckPlot)(ExampleTiledPlot_align, t, "tiled_plot_aligned_histogram.png") 19 }