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.77.0 test/drawing/test_write_col.rb
write_xlsx-0.76.3 test/drawing/test_write_col.rb
write_xlsx-0.76.2 test/drawing/test_write_col.rb
write_xlsx-0.76.1 test/drawing/test_write_col.rb
write_xlsx-0.76.0 test/drawing/test_write_col.rb
write_xlsx-0.75.0 test/drawing/test_write_col.rb
write_xlsx-0.74.0 test/drawing/test_write_col.rb
write_xlsx-0.73.0 test/drawing/test_write_col.rb
write_xlsx-0.72.3.beta1 test/drawing/test_write_col.rb
write_xlsx-0.72.2 test/drawing/test_write_col.rb
write_xlsx-0.72.1 test/drawing/test_write_col.rb
write_xlsx-0.72.0 test/drawing/test_write_col.rb
write_xlsx-0.71.0 test/drawing/test_write_col.rb
write_xlsx-0.70.0 test/drawing/test_write_col.rb
write_xlsx-0.69.0 test/drawing/test_write_col.rb
write_xlsx-0.65.1 test/drawing/test_write_col.rb
write_xlsx-0.65.0 test/drawing/test_write_col.rb
write_xlsx-0.64.1 test/drawing/test_write_col.rb
write_xlsx-0.64.0 test/drawing/test_write_col.rb
write_xlsx-0.62.0 test/drawing/test_write_col.rb