Skip to content

Commit

Permalink
Apply OSX approach to other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markummitchell-tu committed Oct 7, 2017
1 parent 3dac352 commit 8091211
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions src/Test/TestExport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,14 @@ void TestExport::testCommasInFunctionsForCommasSwitzerland ()
{
QString outputExpectedIfCommaSeparator =
"x,Curve1\n"
"""0,001"",""-1,27563""\n"
"""0,001"",""-1,27563""\n"
"""0,01"",""-1,26683""\n"
"""0,1"",""-1,17881""\n"
"1,""-0,29658""\n"
"10,""-706,15184""\n"
"100,""-3997814,14355""\n"
"1000,""-4541901224,06376""\n";
"\"0,001\",\"-1,27563\"\n"
"\"0,001\",\"-1,27563\"\n"
"\"0,01\",\"-1,26683\"\n"
"\"0,1\",\"-1,17881\"\n"
"1,\"-0,29658\"\n"
"10,\"-706,15184\"\n"
"100,\"-3997814,14355\"\n"
"1000,\"-4541901224,06376\"\n";
QString outputExpectedIfPeriodSeparator =
"x,Curve1\n"
"0.001,-1.27563\n"
Expand All @@ -241,7 +241,7 @@ void TestExport::testCommasInFunctionsForCommasSwitzerland ()
if (!success) {
outputGot = "";
}

QVERIFY (outputGot == outputExpectedIfCommaSeparator ||
outputGot == outputExpectedIfPeriodSeparator);
}
Expand Down Expand Up @@ -333,28 +333,28 @@ void TestExport::testCommasInRelationsForCommasSwitzerland ()
{
QString outputExpectedIfCommaSeparator =
"x,Curve1\n"
"""3,3192"",""2,08003""\n"
"""3,3723"",""2,15796""\n"
"""3,432"",""2,23368""\n"
"""3,4935"",""2,30883""\n"
"""3,5539"",""2,38438""\n"
"""3,6113"",""2,46094""\n"
"""3,6687"",""2,5375""\n"
"""3,7261"",""2,61406""\n"
"""3,7836"",""2,69062""\n"
"""3,841"",""2,76718""\n"
"""3,9012"",""2,84276""\n"
"""3,9628"",""2,91791""\n"
"""4,0231"",""2,99345""\n"
"""4,0785"",""3,07067""\n"
"""4,1339"",""3,14789""\n"
"""4,1932"",""3,22378""\n"
"""4,2547"",""3,29893""\n"
"""4,3156"",""3,37426""\n"
"""4,3731"",""3,45082""\n"
"""4,4305"",""3,52738""\n"
"""4,4892"",""3,60349""\n"
"""4,5486"",""3,67938""\n";
"\"3,3192\",\"2,08003\"\n"
"\"3,3723\",\"2,15796\"\n"
"\"3,432\",\"2,23368\"\n"
"\"3,4935\",\"2,30883\"\n"
"\"3,5539\",\"2,38438\"\n"
"\"3,6113\",\"2,46094\"\n"
"\"3,6687\",\"2,5375\"\n"
"\"3,7261\",\"2,61406\"\n"
"\"3,7836\",\"2,69062\"\n"
"\"3,841\",\"2,76718\"\n"
"\"3,9012\",\"2,84276\"\n"
"\"3,9628\",\"2,91791\"\n"
"\"4,0231\",\"2,99345\"\n"
"\"4,0785\",\"3,07067\"\n"
"\"4,1339\",\"3,14789\"\n"
"\"4,1932\",\"3,22378\"\n"
"\"4,2547\",\"3,29893\"\n"
"\"4,3156\",\"3,37426\"\n"
"\"4,3731\",\"3,45082\"\n"
"\"4,4305\",\"3,52738\"\n"
"\"4,4892\",\"3,60349\"\n"
"\"4,5486\",\"3,67938\"\n";
QString outputExpectedIfPeriodSeparator =
"x,Curve1\n"
"3.3192,2.08003\n"
Expand Down

0 comments on commit 8091211

Please sign in to comment.