Sha256: 1e2ad944ba6f7307a80a30f510ef5508821918147ab5d3303319458b628c745f

Contents?: true

Size: 319 Bytes

Versions: 6

Compression:

Stored size: 319 Bytes

Contents

# -*- encoding : utf-8 -*-
require File.join(File.dirname(__FILE__), 'helper')

class TestTypesDate < Minitest::Test
  def test_init
    w = Workbook::Types::Date.new(2001,2,2)
    assert_equal(Workbook::Types::Date, w.class)
    assert_equal(Date.new(2001,2,2),w)
    assert_equal(Date.new(2001,2,2),w.value)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workbook-0.5 test/test_types_date.rb
workbook-0.4.14 test/test_types_date.rb
workbook-0.4.13 test/test_types_date.rb
workbook-0.4.12 test/test_types_date.rb
workbook-0.4.11 test/test_types_date.rb
workbook-0.4.10 test/test_types_date.rb