Mercurial > hg > octave-nkf
changeset 4450:c81dd5832ad8
[project @ 2003-07-09 18:28:41 by jwe]
author | jwe |
---|---|
date | Wed, 09 Jul 2003 18:28:41 +0000 |
parents | e2c91da0aa16 |
children | ea1d3e1a4b1b |
files | test/octave.test/prefer/prefer-14.m test/octave.test/prefer/prefer-15.m test/octave.test/prefer/prefer-16.m test/octave.test/prefer/prefer.exp |
diffstat | 4 files changed, 6 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/test/octave.test/prefer/prefer-14.m +++ b/test/octave.test/prefer/prefer-14.m @@ -1,2 +1,2 @@ -ok_to_lose_imaginary_part = 1; +warn_imag_to_real = 0; eye (1+i)
--- a/test/octave.test/prefer/prefer-15.m +++ b/test/octave.test/prefer/prefer-15.m @@ -1,2 +1,2 @@ -ok_to_lose_imaginary_part = 0; +warn_imag_to_real = 1; eye (1+i)
deleted file mode 100644 --- a/test/octave.test/prefer/prefer-16.m +++ /dev/null @@ -1,2 +0,0 @@ -ok_to_lose_imaginary_part = "warn"; -eye (1+i)
--- a/test/octave.test/prefer/prefer.exp +++ b/test/octave.test/prefer/prefer.exp @@ -54,20 +54,16 @@ set prog_output "error:.*" do_test prefer-13.m -## ok_to_lose_imaginary_part +## warn_imag_to_real -set test ok-to-lose-imaginary-part-1 +set test warn-imag-to-real-1 set prog_output "ans = 1" do_test prefer-14.m -set test ok-to-lose-imaginary-part-2 -set prog_output "error:.*" +set test warn-imag-to-real-2 +set prog_output "warning:.*" do_test prefer-15.m -set test ok-to-lose-imaginary-part-3 -set prog_output "warning:.*" -do_test prefer-16.m - ## prefer_column_vectors set test prefer-column-vectors-1