]> projects.mako.cc - selectricity-live/blob - lib/gruff-0.2.8/test/test_mini_pie.rb
Merge from devel
[selectricity-live] / lib / gruff-0.2.8 / test / test_mini_pie.rb
1
2 require File.dirname(__FILE__) + "/gruff_test_case"
3
4 class TestMiniPie < GruffTestCase
5   
6   def test_simple_pie
7     g = setup_basic_graph(Gruff::Mini::Pie, 200)
8     write_test_file g, 'mini_pie.png'
9   end
10
11   # def test_code_sample    
12   #   g = Gruff::Mini::Pie.new(200)
13   #   g.data "Car", 200
14   #   g.data "Food", 500
15   #   g.data "Art", 1000
16   #   g.data "Music", 16
17   #   g.write "mini_pie.png"    
18   # end
19
20 end

Benjamin Mako Hill || Want to submit a patch?