Kaydet (Commit) 1eb106b9 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

improve test case

Actually I just need it to force a rebuild of the file on the windows
boxes to fix the broken build.

Change-Id: Id90f0ef40bd9bc8dcde3dc0a9040100267696d0e
üst 3bc5ca79
......@@ -43,6 +43,7 @@ void CommonFunctorsTest::testAnyToString()
aInput.push_back(css::uno::makeAny(15.0));
aInput.push_back(css::uno::makeAny(25.234));
aInput.push_back(css::uno::makeAny(123.456));
aInput.push_back(css::uno::makeAny(0.123450));
std::vector<OUString> aOutput;
std::transform(aInput.begin(), aInput.end(),
......@@ -54,6 +55,7 @@ void CommonFunctorsTest::testAnyToString()
CPPUNIT_ASSERT_EQUAL(OUString("15"), aOutput[3]);
CPPUNIT_ASSERT_EQUAL(OUString("25.234"), aOutput[4]);
CPPUNIT_ASSERT_EQUAL(OUString("123.456"), aOutput[5]);
CPPUNIT_ASSERT_EQUAL(OUString("0.12345"), aOutput[6]);
}
void CommonFunctorsTest::testDoubleToString()
......@@ -65,6 +67,7 @@ void CommonFunctorsTest::testDoubleToString()
aInput.push_back(15.0);
aInput.push_back(25.234);
aInput.push_back(123.456);
aInput.push_back(0.123450);
std::vector<OUString> aOutput;
std::transform(aInput.begin(), aInput.end(),
......@@ -76,6 +79,7 @@ void CommonFunctorsTest::testDoubleToString()
CPPUNIT_ASSERT_EQUAL(OUString("15"), aOutput[3]);
CPPUNIT_ASSERT_EQUAL(OUString("25.234"), aOutput[4]);
CPPUNIT_ASSERT_EQUAL(OUString("123.456"), aOutput[5]);
CPPUNIT_ASSERT_EQUAL(OUString("0.12345"), aOutput[6]);
}
CPPUNIT_TEST_SUITE_REGISTRATION(CommonFunctorsTest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment