[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/koffice-ko/kspread/tests
From: Carlos Licea <carlos_licea () hotmail ! com>
Date: 2010-04-09 7:35:14
Message-ID: 20100409073514.AE5E4AC892 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1112783 by clicea:
Revert SVN commit 1112773 by clicea:
Fix tests. I really think that the parser should be less strict, though.
M +4 -4 TestMathFunctions.cpp
--- branches/work/koffice-ko/kspread/tests/TestMathFunctions.cpp #1112782:1112783
@@ -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