Sha256: 6194d756c913d300b5552a97f4d6c8b628bbb41b22b30b04c86cbeea2a351425
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 Bytes
Contents
require 'roo/excelx/cell/base' require 'roo/excelx/cell/string' require 'roo/link' class TestRooExcelxCellString < Minitest::Test def string Roo::Excelx::Cell::String end def test_formatted_value cell = string.new '1', nil, nil, nil, nil assert_equal '1', cell.formatted_value end def test_to_s cell = string.new '0', nil, nil, nil, nil assert_equal '0', cell.to_s end def test_cell_value cell = string.new '1', nil, nil, nil, nil assert_equal '1', cell.cell_value end def test_value cell = string.new '0', nil, nil, nil, nil assert_equal '0', cell.value end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
roo-2.3.0 | test/excelx/cell/test_string.rb |
roo-2.2.0 | test/excelx/cell/test_string.rb |