blob: eabf9a8d1d38bdc73aa3e34d9c476fb85e6d51dd (
plain)
1
2
3
4
5
6
7
8
|
require 'tc_helper.rb'
class TestAxes < Test::Unit::TestCase
def test_constructor_requires_cat_axis_first
assert_raise(ArgumentError) { Axlsx::Axes.new(:val_axis => Axlsx::ValAxis, :cat_axis => Axlsx::CatAxis) }
assert_nothing_raised { Axlsx::Axes.new(:cat_axis => Axlsx::CatAxis, :val_axis => Axlsx::ValAxis) }
end
end
|