Mercurial > hg > octave-lojdl
changeset 4477:87c2e107f811
[project @ 2003-07-30 17:26:32 by jwe]
author | jwe |
---|---|
date | Wed, 30 Jul 2003 17:26:32 +0000 |
parents | b7360f8eb035 |
children | 7afd4bf05aa8 |
files | test/octave.test/arith/sqrt-2.m test/octave.test/contin/contin-1.m test/octave.test/contin/contin-13.m test/octave.test/contin/contin-14.m test/octave.test/contin/contin-15.m test/octave.test/contin/contin-16.m test/octave.test/contin/contin-2.m test/octave.test/contin/contin-3.m test/octave.test/contin/contin-4.m test/octave.test/contin/contin-5.m test/octave.test/contin/contin-6.m test/octave.test/contin/contin-7.m test/octave.test/contin/contin-8.m test/octave.test/contin/contin-9.m test/octave.test/contin/contin.exp test/octave.test/prefer/prefer.exp |
diffstat | 16 files changed, 13 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/test/octave.test/arith/sqrt-2.m +++ b/test/octave.test/arith/sqrt-2.m @@ -1,3 +1,3 @@ -all (all (abs (sqrt ([4, -4; i, 1-i]) - - [2, 2i; exp (0.5 * log (i)), exp (0.5 * log (1-i))]) - < sqrt (eps))) +t1 = exp (0.5 * log (i)); +t2 = exp (0.5 * log (1-i)); +all (all (abs (sqrt ([4, -4; i, 1-i]) - [2, 2i; t1, t2]) < sqrt (eps)))
--- a/test/octave.test/contin/contin-1.m +++ b/test/octave.test/contin/contin-1.m @@ -1,6 +1,6 @@ -whitespace_in_literal_matrix = "ignore"; x = [1,2]; a = 1; b = 2; -[a... # comments here ok -b] +y = [a... # comments here ok +b]; +all (y == x)
--- a/test/octave.test/contin/contin-13.m +++ b/test/octave.test/contin/contin-13.m @@ -1,4 +1,3 @@ -whitespace_in_literal_matrix = "standard"; x = [1, ... ...
--- a/test/octave.test/contin/contin-14.m +++ b/test/octave.test/contin/contin-14.m @@ -1,8 +1,7 @@ -whitespace_in_literal_matrix = "ignore"; x = [1, ... ... 2]; -y = [1,2]; +y = [1;2]; all (y == x)
--- a/test/octave.test/contin/contin-15.m +++ b/test/octave.test/contin/contin-15.m @@ -1,4 +1,3 @@ -whitespace_in_literal_matrix = "standard"; x = [1,... 2]; y = [1,2];
--- a/test/octave.test/contin/contin-16.m +++ b/test/octave.test/contin/contin-16.m @@ -1,4 +1,3 @@ -whitespace_in_literal_matrix = "standard"; x = [ 1 , ... 2]; y = [1,2];
--- a/test/octave.test/contin/contin-2.m +++ b/test/octave.test/contin/contin-2.m @@ -1,4 +1,3 @@ -whitespace_in_literal_matrix = "traditional"; x = [1,2]; a = 1; b = 2;
--- a/test/octave.test/contin/contin-3.m +++ b/test/octave.test/contin/contin-3.m @@ -1,4 +1,3 @@ -whitespace_in_literal_matrix = "standard"; x = [1,2]; a = 1; b = 2;
--- a/test/octave.test/contin/contin-4.m +++ b/test/octave.test/contin/contin-4.m @@ -1,6 +1,6 @@ -whitespace_in_literal_matrix = "ignore"; x = [1,2]; a = 1; b = 2; -[a... # comments ok here - b] +y = [a... # comments ok here + b]; +all (y == x)
--- a/test/octave.test/contin/contin-5.m +++ b/test/octave.test/contin/contin-5.m @@ -1,4 +1,3 @@ -whitespace_in_literal_matrix = "traditional"; x = [1,2]; a = 1; b = 2;
--- a/test/octave.test/contin/contin-6.m +++ b/test/octave.test/contin/contin-6.m @@ -1,4 +1,3 @@ -whitespace_in_literal_matrix = "standard"; x = [1,2]; a = 1; b = 2;
--- a/test/octave.test/contin/contin-7.m +++ b/test/octave.test/contin/contin-7.m @@ -1,4 +1,3 @@ -whitespace_in_literal_matrix = "ignore"; x = [1;2]; a = 1; b = 2;
--- a/test/octave.test/contin/contin-8.m +++ b/test/octave.test/contin/contin-8.m @@ -1,4 +1,3 @@ -whitespace_in_literal_matrix = "traditional"; x = [1;2]; a = 1; b = 2;
--- a/test/octave.test/contin/contin-9.m +++ b/test/octave.test/contin/contin-9.m @@ -1,4 +1,3 @@ -whitespace_in_literal_matrix = "standard"; x = [1;2]; a = 1; b = 2;
--- a/test/octave.test/contin/contin.exp +++ b/test/octave.test/contin/contin.exp @@ -1,5 +1,5 @@ set test contin-1 -set prog_output "parse error.*" +set prog_output "^ans = 1" do_test contin-1.m set test contin-2 @@ -11,7 +11,7 @@ do_test contin-3.m set test contin-4 -set prog_output "parse error.*" +set prog_output "^ans = 1" do_test contin-4.m set test contin-5