2 require File.dirname(__FILE__) + "/gruff_test_case"
4 class TestMiniBar < GruffTestCase
8 g = setup_basic_graph(Gruff::Mini::Bar, 200)
9 write_test_file g, 'mini_bar.png'
12 # def test_simple_bar_wide_dataset
14 # g = setup_basic_graph(Gruff::Mini::Bar, 200)
15 # write_test_file g, 'mini_bar_wide_data.png'
18 # def test_code_sample
19 # g = Gruff::Mini::Bar.new(200)
20 # g.data "Jim", [200, 500, 400]
21 # g.labels = { 0 => 'This Month', 1 => 'Average', 2 => 'Overall'}
22 # g.write "mini_bar_one_color.png"
24 # g = Gruff::Mini::Bar.new(200)
29 # g.write "mini_bar_many_colors.png"