diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-05-17 06:44:47 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-05-17 06:48:26 +0200 |
commit | 1e8d6bb3e64700b0309bbc3331109d08404972e8 (patch) | |
tree | 465180b56d1f8b11b2f2ea473c38f5bde8b2a363 /sc | |
parent | 0b43d4232e0f6eacfdca8334c6cc19eece47d79a (diff) |
add a few more databar length tests
Change-Id: I178a028d65acaf80fdfe23c3911c1f178650b9c1
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 430a1fb99089..ad0ae3da70a3 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -5970,6 +5970,26 @@ void Test::testDataBarLengthAutomaticAxis() testDataBarLengthImpl(m_pDoc, aValues2, ScRange(1,0,0,1,15,0), -4, COLORSCALE_VALUE, 8, COLORSCALE_VALUE, 1.0/3.0 * 100, databar::AUTOMATIC); + ScDataBarLengthData aValues3[] = { + { 2, 0.0 }, + { 3, 25.0 }, + { 4, 50.0 }, + { 6, 100.0 }, + { 0, -200 } + }; + testDataBarLengthImpl(m_pDoc, aValues3, ScRange(2,0,0,2,3,0), + 0, COLORSCALE_MIN, 0, COLORSCALE_MAX, 0, databar::AUTOMATIC); + + ScDataBarLengthData aValues4[] = { + { 2, 40.0 }, + { 3, 60.0 }, + { 4, 80.0 }, + { 5, 100.0 }, + { 0, -200 } + }; + testDataBarLengthImpl(m_pDoc, aValues4, ScRange(3,0,0,3,3,0), + 0, COLORSCALE_AUTO, 0, COLORSCALE_AUTO, 0, databar::AUTOMATIC); + m_pDoc->DeleteTab(0); } |