示例#1
0
 def test_min_max(self):
     series = Serie(self.cell)
     eq_(series.get_min_max(), (0, 0))
     series = Serie(self.range)
     eq_(series.get_min_max(), (0, 9))
     series = Serie(self.empty)
     eq_(series.get_min_max(), (None, None))
示例#2
0
 def test_error_bar(self):
     series = Serie(self.cell)
     from openpyxl.chart import ErrorBar
     series.error_bar = ErrorBar(None, self.cell)
     eq_(series.get_min_max(), (0, 0))
示例#3
0
 def test_min_max(self):
     series = Serie(self.cell)
     eq_(series.get_min_max(), (0, 0))