From c80c8b9d9be5542471d66afcc2ce4ddd80cac1f7 Mon Sep 17 00:00:00 2001 From: Bruce Davidson Date: Wed, 13 Jan 2016 19:48:00 +0000 Subject: Fix #440 - allow control of position of outline summary row/columns --- test/workbook/worksheet/tc_outline_pr.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/workbook/worksheet/tc_outline_pr.rb (limited to 'test') diff --git a/test/workbook/worksheet/tc_outline_pr.rb b/test/workbook/worksheet/tc_outline_pr.rb new file mode 100644 index 00000000..41a2b4ca --- /dev/null +++ b/test/workbook/worksheet/tc_outline_pr.rb @@ -0,0 +1,19 @@ +require 'tc_helper.rb' + +class TestOutlinePr < Test::Unit::TestCase + def setup + @outline_pr = Axlsx::OutlinePr.new(:summary_below => false, :summary_right => true, :apply_styles => false) + end + + def test_summary_below + assert_equal false, @outline_pr.summary_below + end + + def test_summary_right + assert_equal true, @outline_pr.summary_right + end + + def test_apply_styles + assert_equal false, @outline_pr.apply_styles + end +end -- cgit v1.2.3