# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/drawing' class TestWriteColOff < Minitest::Test def setup @drawing = Writexlsx::Drawings.new end def test_write_col_off expected = '457200' @drawing.__send__(:write_col_off, 457200) result = @drawing.instance_variable_get(:@writer).string assert_equal(expected, result) end end