summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/workbook/worksheet/tc_outline_pr.rb19
1 files changed, 19 insertions, 0 deletions
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