test/test_raindrops.rb in raindrops-0.3.0 vs test/test_raindrops.rb in raindrops-0.4.0

- old
+ new

@@ -2,9 +2,15 @@ require 'test/unit' require 'raindrops' class TestRaindrops < Test::Unit::TestCase + def test_raindrop_size + assert_kind_of Integer, Raindrops::SIZE + assert Raindrops::SIZE > 0 + puts "Raindrops::SIZE = #{Raindrops::SIZE}" + end + def test_size rd = Raindrops.new(4) assert_equal 4, rd.size end