diff options
Diffstat (limited to 'test/source/sheet/xgoalseek.cxx')
-rw-r--r-- | test/source/sheet/xgoalseek.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/test/source/sheet/xgoalseek.cxx b/test/source/sheet/xgoalseek.cxx index 986af40561d3..b1de09d2e22b 100644 --- a/test/source/sheet/xgoalseek.cxx +++ b/test/source/sheet/xgoalseek.cxx @@ -17,21 +17,20 @@ using namespace css; using namespace css::uno; -namespace apitest { - +namespace apitest +{ void XGoalSeek::testSeekGoal() { - uno::Reference< sheet::XGoalSeek > xGoalSeek(init(), UNO_QUERY_THROW); + uno::Reference<sheet::XGoalSeek> xGoalSeek(init(), UNO_QUERY_THROW); - table::CellAddress aFormulaAddr(0,3,5); - table::CellAddress aVariableAddr(0,3,4); + table::CellAddress aFormulaAddr(0, 3, 5); + table::CellAddress aVariableAddr(0, 3, 4); sheet::GoalResult aResult = xGoalSeek->seekGoal(aFormulaAddr, aVariableAddr, "4"); double nDivergence = 0.01; - CPPUNIT_ASSERT( aResult.Divergence < nDivergence ); + CPPUNIT_ASSERT(aResult.Divergence < nDivergence); CPPUNIT_ASSERT_DOUBLES_EQUAL(16, aResult.Result, nDivergence); } - } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |