diff --git a/src/Test/TestExport.cpp b/src/Test/TestExport.cpp index 82233da4..c85f6ea4 100644 --- a/src/Test/TestExport.cpp +++ b/src/Test/TestExport.cpp @@ -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" @@ -241,7 +241,7 @@ void TestExport::testCommasInFunctionsForCommasSwitzerland () if (!success) { outputGot = ""; } - + QVERIFY (outputGot == outputExpectedIfCommaSeparator || outputGot == outputExpectedIfPeriodSeparator); } @@ -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"