changeset 2780:41d3a7da0467

[project @ 1997-03-01 21:55:00 by jwe]
author jwe
date Sat, 01 Mar 1997 21:56:31 +0000
parents 50b31bb6b959
children 972a3638639e
files test/octave.test/arith/exp-2.m test/octave.test/arith/real-3.m test/octave.test/io/fgets-3.m test/octave.test/io/fopen-2.m test/octave.test/matrix/logspace-1.m test/octave.test/number/is_vector-10.m test/octave.test/poly/polyderiv-1.m test/octave.test/string/int2str-2.m test/octave.test/system/fnmatch-3.m test/octave.test/system/pause-1.m test/octave.test/system/pwd-2.m test/octave.test/system/sleep-3.m test/octave.test/system/time-2.m
diffstat 13 files changed, 13 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/test/octave.test/arith/exp-2.m
+++ b/test/octave.test/arith/exp-2.m
@@ -1,1 +1,1 @@
-abs (exp (1+i) - e * (cos (1) + sin (1) * i)) < eps
+abs (exp (1+i) - e * (cos (1) + sin (1) * i)) < sqrt (eps)
--- a/test/octave.test/arith/real-3.m
+++ b/test/octave.test/arith/real-3.m
@@ -1,1 +1,1 @@
-real ()
\ No newline at end of file
+real ()
--- a/test/octave.test/io/fgets-3.m
+++ b/test/octave.test/io/fgets-3.m
@@ -1,1 +1,1 @@
-fgets ("foo", 1)
\ No newline at end of file
+fgets ("foo", 1)
--- a/test/octave.test/io/fopen-2.m
+++ b/test/octave.test/io/fopen-2.m
@@ -1,2 +1,2 @@
 s.a = 1;
-fopen (s)
\ No newline at end of file
+fopen (s)
--- a/test/octave.test/matrix/logspace-1.m
+++ b/test/octave.test/matrix/logspace-1.m
@@ -5,4 +5,4 @@
 (size (x1) == [1, 50] && x1(1) == 10 && x1(50) == 100
  && size (x2) == [1, 10] && x2(1) == 10 && x2(10) == 100
  && size (x3) == [1, 10] && x3(1) == 10 && x3(10) == 0.01
- && size (x4) == [1, 10] && x4(1) == 10 && x4(10) == pi)
+ && size (x4) == [1, 10] && x4(1) == 10 && abs (x4(10) - pi) < sqrt (eps))
--- a/test/octave.test/number/is_vector-10.m
+++ b/test/octave.test/number/is_vector-10.m
@@ -1,1 +1,1 @@
-is_vector ([1, 2], 2)
\ No newline at end of file
+is_vector ([1, 2], 2)
--- a/test/octave.test/poly/polyderiv-1.m
+++ b/test/octave.test/poly/polyderiv-1.m
@@ -1,1 +1,1 @@
-all (all (polyderiv ([1, 2, 3]) == [2, 2]))
\ No newline at end of file
+all (all (polyderiv ([1, 2, 3]) == [2, 2]))
--- a/test/octave.test/string/int2str-2.m
+++ b/test/octave.test/string/int2str-2.m
@@ -1,1 +1,1 @@
-int2str ()
\ No newline at end of file
+int2str ()
--- a/test/octave.test/system/fnmatch-3.m
+++ b/test/octave.test/system/fnmatch-3.m
@@ -1,1 +1,1 @@
-fnmatch ("foo", "bar", 3)
\ No newline at end of file
+fnmatch ("foo", "bar", 3)
--- a/test/octave.test/system/pause-1.m
+++ b/test/octave.test/system/pause-1.m
@@ -1,2 +1,2 @@
 pause (0);
-printf ("ok\n");
\ No newline at end of file
+printf ("ok\n");
--- a/test/octave.test/system/pwd-2.m
+++ b/test/octave.test/system/pwd-2.m
@@ -0,0 +1,1 @@
+
--- a/test/octave.test/system/sleep-3.m
+++ b/test/octave.test/system/sleep-3.m
@@ -1,1 +1,1 @@
-sleep (1, 2)
\ No newline at end of file
+sleep (1, 2)
--- a/test/octave.test/system/time-2.m
+++ b/test/octave.test/system/time-2.m
@@ -0,0 +1,1 @@
+