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