* Bug #12360 fixed - Incorrect format for purely real complexs in csvWrite. 73/10773/3
authorSimon Marchetto <simon.marchetto@scilab-enterprises.com>
Tue, 12 Mar 2013 10:54:39 +0000 (11:54 +0100)
committercodereview <codereview@git.scilab.org>
Tue, 12 Mar 2013 11:22:31 +0000 (12:22 +0100)
commitee858e28b9870834bf75540b0bfc1e5b8215e4b2
tree4f3520d66667a9627846c8b25f60a9ba2753eb69
parentd27e0ec2ba211d096b3afe4b0dd84ab0ca51771f
* Bug #12360 fixed - Incorrect format for purely real complexs in csvWrite.

Fix: do not display imaginary part on purely real complexs,
    & real part on purely imaginary complexs

+ add unit test complex data

Change-Id: I38ba3d83cba3b884350bd07ceb3bb33281498cde
scilab/CHANGES_5.4.X
scilab/modules/spreadsheet/src/c/csvWrite.c
scilab/modules/spreadsheet/tests/nonreg_tests/bug_12360.dia.ref [new file with mode: 0644]
scilab/modules/spreadsheet/tests/nonreg_tests/bug_12360.ref.csv [new file with mode: 0644]
scilab/modules/spreadsheet/tests/nonreg_tests/bug_12360.tst [new file with mode: 0644]
scilab/modules/spreadsheet/tests/nonreg_tests/bug_8349.dia.ref
scilab/modules/spreadsheet/tests/nonreg_tests/bug_8349.tst
scilab/modules/spreadsheet/tests/unit_tests/complex.csv [new file with mode: 0644]
scilab/modules/spreadsheet/tests/unit_tests/csvWrite.dia.ref
scilab/modules/spreadsheet/tests/unit_tests/csvWrite.tst