3 require File.dirname(__FILE__) + "/gruff_test_case"
5 class TestGruffPhotoBar < GruffTestCase
9 # [:Jimmy, [25, 36, 86, 39]],
10 # [:Charles, [80, 54, 67, 54]],
11 # # [:Charity, [0, nil, 100, 90]],
17 # bar_graph_sized(400)
23 # def bar_graph_sized(size=800)
24 # g = Gruff::PhotoBar.new(size)
25 # g.title = "Photo Bar Graph Test #{size}px"
32 # @datasets.each do |data|
38 # g.write("test/output/photo_plastik_#{size}.png")