Fix test on win64b : test_run(output_stream, mprintf) 10/11010/2
Adeline CARNIS [Tue, 26 Mar 2013 10:18:25 +0000 (11:18 +0100)]
Change-Id: I48678726f56abaac7b291107e48c908aa83f68cc

scilab/modules/output_stream/tests/unit_tests/mprintf.dia.ref [moved from scilab/modules/output_stream/tests/unit_tests/mprintf.unix.dia.ref with 100% similarity]
scilab/modules/output_stream/tests/unit_tests/mprintf.win.dia.ref [deleted file]

diff --git a/scilab/modules/output_stream/tests/unit_tests/mprintf.win.dia.ref b/scilab/modules/output_stream/tests/unit_tests/mprintf.win.dia.ref
deleted file mode 100644 (file)
index 726f475..0000000
+++ /dev/null
@@ -1,298 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2008 - INRIA
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-// unit tests for msprintf function
-// =============================================================================
-// format '%f'
-// =============================================================================
-mprintf("==>%f<==\n\n",-35);
-==>-35.000000<==
-
-mprintf("==>%f<==\n\n",35.55);
-==>35.550000<==
-
-mprintf("==>%f<==\n\n",0.00433);
-==>0.004330<==
-
-mprintf("==>%f<==\n\n",0.0000000345456);
-==>0.000000<==
-
-mprintf("==>%f<==\n\n",1112423453);
-==>1112423453.000000<==
-
-mprintf("==>%15f<==\n\n",-35);
-==>     -35.000000<==
-
-mprintf("==>%15f<==\n\n",0.00433);
-==>       0.004330<==
-
-mprintf("==>%15f<==\n\n",0.0000000345456);
-==>       0.000000<==
-
-mprintf("==>%15f<==\n\n",1112423453);
-==>1112423453.000000<==
-
-mprintf("==>%.1f<==\n\n" ,-35);
-==>-35.0<==
-
-mprintf("==>%.0f<==\n\n" ,-35);
-==>-35<==
-
-mprintf("==>%#.0f<==\n\n",-35);
-==>-35.<==
-
-mprintf("==>%.1f<==\n\n" ,0.00433);
-==>0.0<==
-
-mprintf("==>%.15f<==\n\n",0.0000000345456);
-==>0.000000034545600<==
-
-mprintf("==>%.1f<==\n\n" ,11124234534545);
-==>11124234534545.0<==
-
-// format '%g'
-// =============================================================================
-mprintf("==>%g<==\n\n" ,-35);
-==>-35<==
-
-mprintf("==>%g<==\n\n" ,35.55);
-==>35.55<==
-
-mprintf("==>%g<==\n\n" ,35.551234567890);
-==>35.5512<==
-
-mprintf("==>%+g<==\n\n",35.551234567890);
-==>+35.5512<==
-
-mprintf("==>%g<==\n\n" ,0.00433);
-==>0.00433<==
-
-mprintf("==>%g<==\n\n" ,0.0000000345456);
-==>3.45456e-008<==
-
-mprintf("==>%g<==\n\n" ,11124234534545);
-==>1.11242e+013<==
-
-mprintf("==>%15g<==\n\n",-35);
-==>            -35<==
-
-mprintf("==>%15g<==\n\n",0.00433);
-==>        0.00433<==
-
-mprintf("==>%15g<==\n\n",0.0000000345456);
-==>   3.45456e-008<==
-
-mprintf("==>%15g<==\n\n",11124234534545);
-==>   1.11242e+013<==
-
-mprintf("==>%.1g<==\n\n",-35.1);
-==>-4e+001<==
-
-mprintf("==>%.0g<==\n\n",-35.1);
-==>-4e+001<==
-
-mprintf("==>%#.0g<==\n\n",-35.1);
-==>-4.e+001<==
-
-mprintf("==>%#.0G<==\n\n",-35.1);
-==>-4.E+001<==
-
-mprintf("==>%.1g<==\n\n",0.00433);
-==>0.004<==
-
-mprintf("==>%.15g<==\n\n",0.0000000345456);
-==>3.45456e-008<==
-
-mprintf("==>%.1g<==\n\n",11124234534545);
-==>1e+013<==
-
-// format '%e'
-// =============================================================================
-mprintf("==>%e<==\n\n",-35);
-==>-3.500000e+001<==
-
-mprintf("==>%e<==\n\n",35.55);
-==>3.555000e+001<==
-
-mprintf("==>%+e<==\n\n",35.55);
-==>+3.555000e+001<==
-
-mprintf("==>%e<==\n\n",35.551234567890);
-==>3.555123e+001<==
-
-mprintf("==>%e<==\n\n",0.00433);
-==>4.330000e-003<==
-
-mprintf("==>%e<==\n\n",0.0000000345456);
-==>3.454560e-008<==
-
-mprintf("==>%e<==\n\n",11124234534545);
-==>1.112423e+013<==
-
-mprintf("==>%E<==\n\n",11124234534545);
-==>1.112423E+013<==
-
-mprintf("==>%15e<==\n\n",-35);
-==> -3.500000e+001<==
-
-mprintf("==>%15e<==\n\n",0.00433);
-==>  4.330000e-003<==
-
-mprintf("==>%15e<==\n\n",0.0000000345456);
-==>  3.454560e-008<==
-
-mprintf("==>%+15e<==\n\n",0.0000000345456);
-==> +3.454560e-008<==
-
-mprintf("==>%15e<==\n\n",11124234534545);
-==>  1.112423e+013<==
-
-mprintf("==>%.1e<==\n\n",-35);
-==>-3.5e+001<==
-
-mprintf("==>%.0e<==\n\n",-35.1);
-==>-4e+001<==
-
-mprintf("==>%#.0e<==\n\n",-35.1);
-==>-4.e+001<==
-
-mprintf("==>%.1e<==\n\n",0.00433);
-==>4.3e-003<==
-
-mprintf("==>%.15e<==\n\n",0.0000000345456);
-==>3.454560000000000e-008<==
-
-mprintf("==>%.1e<==\n\n",11124234534545);
-==>1.1e+013<==
-
-// format '%c'
-// =============================================================================
-mprintf("==>%c<==\n\n","t");
-==>t<==
-
-mprintf("==>%10c<==\n\n","t");
-==>         t<==
-
-mprintf("==>%10.3c<==\n\n","t");
-==>         t<==
-
-mprintf("==>%-10c<==\n\n","t");
-==>t         <==
-
-// format '%s'
-// =============================================================================
-mprintf("==>%s<==\n\n","text");
-==>text<==
-
-mprintf("==>%10s<==\n\n","text");
-==>      text<==
-
-mprintf("==>%10.3s<==\n\n","text");
-==>       tex<==
-
-mprintf("==>%-10s<==\n\n","text");
-==>text      <==
-
-mprintf("==>%s<==\n\n","t");
-==>t<==
-
-// format '%x'
-// =============================================================================
-mprintf("==>%x<==\n\n",123);
-==>7b<==
-
-mprintf("==>%.10x<==\n\n",123);
-==>000000007b<==
-
-mprintf("==>%x<==\n\n",-123);
-==>ffffff85<==
-
-mprintf("==>%X<==\n\n",-123);
-==>FFFFFF85<==
-
-mprintf("==>%#.3X<==\n\n",12);
-==>0X00C<==
-
-// Vectorisation
-// =============================================================================
-// test 1
-A = "row "+string(1:10)';
-B = [ ..
-    50.153416    28.06498     40.948255 ; ..
-    43.685876    12.800585    87.841258 ; ..
-    26.931248    77.831286    11.383597 ; ..
-    63.257449    21.190304    19.983377 ; ..
-    40.51954     11.213547    56.186607 ; ..
-    91.847078    68.56896     58.961773 ; ..
-    4.3733433    15.312167    68.539797 ; ..
-    48.185089    69.708506    89.062247 ; ..
-    26.39556     84.155184    50.422128 ; ..
-    41.481037    40.620248    34.936154 ];
-mprintf("==>%10s : %08.4f %08.4f %08.4f<==\n\n",A,B);
-==>     row 1 : 050.1534 028.0650 040.9483<==
-
-==>     row 2 : 043.6859 012.8006 087.8413<==
-
-==>     row 3 : 026.9312 077.8313 011.3836<==
-
-==>     row 4 : 063.2574 021.1903 019.9834<==
-
-==>     row 5 : 040.5195 011.2135 056.1866<==
-
-==>     row 6 : 091.8471 068.5690 058.9618<==
-
-==>     row 7 : 004.3733 015.3122 068.5398<==
-
-==>     row 8 : 048.1851 069.7085 089.0622<==
-
-==>     row 9 : 026.3956 084.1552 050.4221<==
-
-==>    row 10 : 041.4810 040.6202 034.9362<==
-
-// test 2
-C = [ ..
-    50.153416    28.06498  ; ..
-    43.685876    12.800585 ; ..
-    26.931248    77.831286 ; ..
-    63.257449    21.190304 ; ..
-    40.51954     11.213547 ; ..
-    91.847078    68.56896  ; ..
-    4.3733433    15.312167 ; ..
-    48.185089    69.708506 ; ..
-    26.39556     84.155184 ; ..
-    41.481037    40.620248 ];
-D = [ ..
-    40.948255 ; ..
-    87.841258 ; ..
-    11.383597 ; ..
-    19.983377 ; ..
-    56.186607 ; ..
-    58.961773 ; ..
-    68.539797 ; ..
-    89.062247 ; ..
-    50.422128 ; ..
-    34.936154 ];
-mprintf("==>%10s : %08.4f %08.4f %08.4f<==\n\n",A,C,D);
-==>     row 1 : 050.1534 028.0650 040.9483<==
-
-==>     row 2 : 043.6859 012.8006 087.8413<==
-
-==>     row 3 : 026.9312 077.8313 011.3836<==
-
-==>     row 4 : 063.2574 021.1903 019.9834<==
-
-==>     row 5 : 040.5195 011.2135 056.1866<==
-
-==>     row 6 : 091.8471 068.5690 058.9618<==
-
-==>     row 7 : 004.3733 015.3122 068.5398<==
-
-==>     row 8 : 048.1851 069.7085 089.0622<==
-
-==>     row 9 : 026.3956 084.1552 050.4221<==
-
-==>    row 10 : 041.4810 040.6202 034.9362<==
-