Sha256: 3f51477c2c43499140f83034be4314b91afc2b1b45ce9bfd5c5275a985c59a2b

Contents?: true

Size: 293 Bytes

Versions: 7

Compression:

Stored size: 293 Bytes

Contents

require 'test_helper'

class TestRooExcelxCellEmpty < Minitest::Test
  def empty
    Roo::Excelx::Cell::Empty
  end

  def test_empty?
    cell = empty.new(nil)
    assert_same  true, cell.empty?
  end

  def test_nil_presence
    cell = empty.new(nil)
    assert_nil cell.presence
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
roo-2.10.1 test/excelx/cell/test_empty.rb
roo-2.10.0 test/excelx/cell/test_empty.rb
roo-2.9.0 test/excelx/cell/test_empty.rb
roo-2.8.3 test/excelx/cell/test_empty.rb
roo-2.8.2 test/excelx/cell/test_empty.rb
roo-2.8.1 test/excelx/cell/test_empty.rb
roo-2.8.0 test/excelx/cell/test_empty.rb