Sha256: 81536fcd47fc173f68d1685a77a4fb9169d22e97f87cf34e611cd2f2c6076b70

Contents?: true

Size: 498 Bytes

Versions: 2

Compression:

Stored size: 498 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/date/days_of_month.rb
#
# Extracted Mon Mar 13 13:24:07 UTC 2006
# Unit Tools Reap Test Extractor
#

require 'facet/date/days_of_month.rb'


  require 'test/unit'

  class TCDate < Test::Unit::TestCase

    def setup
      @d = Date.civil( 2005, 04, 20 )
    end

    def test_days_of_month
      assert_equal( (1..@d.days_in_month).to_a, @d.days_of_month )
    end

  end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-1.1.0 test/lib/facet/date/test_days_of_month.rb
facets-1.2.0 test/lib/facet/date/test_days_of_month.rb