aboutsummaryrefslogtreecommitdiffstats
path: root/test/excelx/cell/test_empty.rb
blob: e502a1d37caa01635df8cc6112cd899b252e30e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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