summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-02-16 10:15:10 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2021-02-16 14:12:42 +0100
commitde51b1aa540ce1e3532e4a8d3650c82f8d600d17 (patch)
treef09f599f841743f9a0aa97e2ea1dc6b56c7bec07 /sc
parent19a2ea083355344acaaff4bdd2d83f76935da099 (diff)
tdf#66409: sc_ucalc: Add unittest
Change-Id: I911368d5e5c90f4b0225cfe47b6b912cac9fbbdb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110978 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/ucalc_formula.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 997fb4a944ef..6d8d40283516 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -5928,7 +5928,9 @@ void Test::testFuncCELL()
// We don't test: FILENAME, FORMAT, WIDTH, PROTECT, PREFIX
StrStrCheck aChecks[] = {
{ "=CELL(\"COL\";C10)", "3" },
+ { "=CELL(\"COL\";C5:C10)", "3" },
{ "=CELL(\"ROW\";C10)", "10" },
+ { "=CELL(\"ROW\";C10:E10)", "10" },
{ "=CELL(\"SHEET\";C10)", "1" },
{ "=CELL(\"ADDRESS\";C10)", "$C$10" },
{ "=CELL(\"CONTENTS\";C10)", pContent },