[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kspread/tests
From: Carlos Licea <carlos_licea () hotmail ! com>
Date: 2010-04-09 7:42:04
Message-ID: 20100409074204.E00FDAC892 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1112784 by clicea:
Merge revision 1112773.
........
SVN commit 1112773 by clicea:
Fix tests. I really think that the parser should be less strict, though.
........
M +4 -4 TestMathFunctions.cpp
--- trunk/koffice/kspread/tests/TestMathFunctions.cpp #1112783:1112784
@@ -718,9 +718,9 @@
void TestMathFunctions::testROUND()
{
// ODF-tests
- CHECK_EVAL("=ROUND(10.1; 0)", Value(10));
+ CHECK_EVAL("=ROUND(10.1;0)", Value(10));
CHECK_EVAL("=ROUND(9.8;0)", Value(10));
- CHECK_EVAL("=ROUND(0.5; 0)", Value(1));
+ CHECK_EVAL("=ROUND(0.5;0)", Value(1));
CHECK_EVAL("=ROUND(1/3;0) ", Value(0));
CHECK_EVAL("=ROUND(1/3;1)", Value(0.3));
CHECK_EVAL("=ROUND(1/3;2)", Value(0.33));
@@ -736,7 +736,7 @@
void TestMathFunctions::testROUNDDOWN()
{
// ODF-tests
- CHECK_EVAL("=ROUNDDOWN(1.45673; 2)", Value(1.45));
+ CHECK_EVAL("=ROUNDDOWN(1.45673;2)", Value(1.45));
CHECK_EVAL("=ROUNDDOWN(1;0)", Value(1));
CHECK_EVAL("=ROUNDDOWN(1)", Value(1));
CHECK_EVAL("=ROUNDDOWN(9;-1)", Value(0));
@@ -749,7 +749,7 @@
void TestMathFunctions::testROUNDUP()
{
// ODF-tests
- CHECK_EVAL("=ROUNDUP(1.45673; 2)", Value(1.46));
+ CHECK_EVAL("=ROUNDUP(1.45673;2)", Value(1.46));
CHECK_EVAL("=ROUNDUP(1.1;0)", Value(2));
CHECK_EVAL("=ROUNDUP(1.9;0)", Value(2));
CHECK_EVAL("=ROUNDUP(1)", Value(1));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic