Sha256: 08520f45ed169ac44a71d68075f23d2cc48c5f8c83a0bc0c1d016c617f4c5ffa

Contents?: true

Size: 374 Bytes

Versions: 49

Compression:

Stored size: 374 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'
require 'write_xlsx/drawing'

class TestWriteCol < Test::Unit::TestCase
  def setup
    @drawing = Writexlsx::Drawing.new
  end

  def test_write_col
    expected = '<xdr:col>4</xdr:col>'

    @drawing.__send__(:write_col, 4)
    result = @drawing.instance_variable_get(:@writer).string

    assert_equal(expected, result)
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
write_xlsx-0.61.0 test/drawing/test_write_col.rb
write_xlsx-0.60.0 test/drawing/test_write_col.rb
write_xlsx-0.59.0 test/drawing/test_write_col.rb
write_xlsx-0.58.0 test/drawing/test_write_col.rb
write_xlsx-0.57.0 test/drawing/test_write_col.rb
write_xlsx-0.56.0 test/drawing/test_write_col.rb
write_xlsx-0.55.0 test/drawing/test_write_col.rb
write_xlsx-0.54.0 test/drawing/test_write_col.rb
write_xlsx-0.51.0 test/drawing/test_write_col.rb