aboutsummaryrefslogtreecommitdiffstats
path: root/test/excelx/cell/test_base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/excelx/cell/test_base.rb')
-rw-r--r--test/excelx/cell/test_base.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/excelx/cell/test_base.rb b/test/excelx/cell/test_base.rb
index 17c83be..e3d0c7c 100644
--- a/test/excelx/cell/test_base.rb
+++ b/test/excelx/cell/test_base.rb
@@ -25,6 +25,11 @@ class TestRooExcelxCellBase < Minitest::Test
refute cell.empty?
end
+ def test_presence
+ cell = base.new(value, nil, [], nil, nil, nil)
+ assert_equal cell, cell.presence
+ end
+
def test_cell_type_is_formula
formula = true
cell = base.new(value, formula, [], nil, nil, nil)