Mercurial > hg > octave-lojdl
changeset 2744:b1474687fb83
[project @ 1997-02-26 07:14:12 by jwe]
line wrap: on
line diff
--- a/test/octave.test/arith/arith.exp +++ b/test/octave.test/arith/arith.exp @@ -1,3 +1,19 @@ +## The following functions need to have tests written for them: + +# nexpow2 +# pow2 +# beta +# betai +# erf +# erfc +# erfinv +# gamma +# gammai +# lgamma +# cross +# commutation_matrix +# duplication_matrix + set test ceil-1 set prog_output "ans = 1" do_test ceil-1.m @@ -71,7 +87,7 @@ do_test gcd-2.m set test gcd-3 -set prog_output "usage:.*" +set prog_output "error:.*" do_test gcd-3.m set test lcm-1 @@ -83,7 +99,7 @@ do_test lcm-2.m set test lcm-3 -set prog_output "usage:.*" +set prog_output "error:.*" do_test lcm-3.m set test max-1 @@ -118,9 +134,6 @@ set prog_output "\n... min:.*" do_test min-4.m -# nexpow2 -# pow2 - set test rem-1 set prog_output "ans = 1" do_test rem-1.m @@ -705,9 +718,6 @@ set prog_output "\n... sumsq:.*" do_test sumsq-4.m -# beta -# betai - set test bincoeff-1 set prog_output "ans = 1" do_test bincoeff-1.m @@ -719,13 +729,3 @@ set test bincoeff-3 set prog_output "usage.*" do_test bincoeff-3.m - -# erf -# erfc -# erfinv -# gamma -# gammai -# lgamma -# cross -# commutation_matrix -# duplication_matrix
--- a/test/octave.test/arith/gcd-1.m +++ b/test/octave.test/arith/gcd-1.m @@ -1,2 +1,2 @@ (gcd (200, 300, 50, 35) == gcd ([200, 300, 50, 35]) - && gcd ([200, 300, 50, 35]) == 35) + && gcd ([200, 300, 50, 35]) == 5)
--- a/test/octave.test/audio/audio.exp +++ b/test/octave.test/audio/audio.exp @@ -1,3 +1,5 @@ +## The following functions need to have tests written for them: + # lin2mu # mu2lin # loadaudio
--- a/test/octave.test/control/control.exp +++ b/test/octave.test/control/control.exp @@ -1,3 +1,5 @@ +## The following functions need to have tests written for them: + # abcddim # are # c2d
new file mode 100644 --- /dev/null +++ b/test/octave.test/diffeq/dassl_options-1.m @@ -0,0 +1,2 @@ +dassl_options ("absolute tolerance", eps); +dassl_options ("absolute tolerance") == eps
new file mode 100644 --- /dev/null +++ b/test/octave.test/diffeq/dassl_options-2.m @@ -0,0 +1,1 @@ +dassl_options ()
new file mode 100644 --- /dev/null +++ b/test/octave.test/diffeq/dassl_options-3.m @@ -0,0 +1,1 @@ +dassl_options ("foo", 1, 2)
--- a/test/octave.test/diffeq/diffeq.exp +++ b/test/octave.test/diffeq/diffeq.exp @@ -1,4 +1,29 @@ +## The following functions need to have tests written for them: + # lsode -# lsode_options + +set test lsode_options-1 +set prog_output "ans = 1" +do_test lsode_options-1.m + +set test lsode_options-2 +set prog_output "\n... lsode_options:.*" +do_test lsode_options-2.m + +set test lsode_options-3 +set prog_output "\n... lsode_options:.*" +do_test lsode_options-3.m + # dassl -# dassl_options + +set test dassl_options-1 +set prog_output "ans = 1" +do_test dassl_options-1.m + +set test dassl_options-2 +set prog_output "\n... dassl_options:.*" +do_test dassl_options-2.m + +set test dassl_options-3 +set prog_output "\n... dassl_options:.*" +do_test dassl_options-3.m
new file mode 100644 --- /dev/null +++ b/test/octave.test/diffeq/lsode_options-1.m @@ -0,0 +1,2 @@ +lsode_options ("absolute tolerance", eps); +lsode_options ("absolute tolerance") == eps
new file mode 100644 --- /dev/null +++ b/test/octave.test/diffeq/lsode_options-2.m @@ -0,0 +1,1 @@ +lsode_options ()
new file mode 100644 --- /dev/null +++ b/test/octave.test/diffeq/lsode_options-3.m @@ -0,0 +1,1 @@ +lsode_options ("foo", 1, 2)
--- a/test/octave.test/image/image.exp +++ b/test/octave.test/image/image.exp @@ -1,3 +1,5 @@ +## The following functions need to have tests written for them: + # colormap # gray # image
--- a/test/octave.test/io/io.exp +++ b/test/octave.test/io/io.exp @@ -1,3 +1,5 @@ +## The following functions need to have tests written for them: + # disp # save # load
--- a/test/octave.test/linalg/linalg.exp +++ b/test/octave.test/linalg/linalg.exp @@ -1,4 +1,18 @@ +## The following functions need to have tests written for them: + # balance +# givens +# norm +# null +# orth +# pinv +# rank +# expm +# logm +# sqrtm +# kron +# qzhess +# qzval set test cond-1 set prog_output "ans = 1" @@ -52,8 +66,6 @@ set prog_output "error:.*" do_test eig-5.m -# givens - set test inv-1 set prog_output "ans = 1" do_test inv-1.m @@ -70,12 +82,6 @@ set prog_output "error:.*" do_test inv-4.m -# norm -# null -# orth -# pinv -# rank - set test trace-1 set prog_output "ans = 1" do_test trace-1.m @@ -232,13 +238,6 @@ set prog_output "\n... svd:.*" do_test svd-9.m -# expm -# logm -# sqrtm -# kron -# qzhess -# qzval - set test syl-1 set prog_output "ans = 1" do_test syl-1.m
--- a/test/octave.test/nonlin/nonlin.exp +++ b/test/octave.test/nonlin/nonlin.exp @@ -6,4 +6,14 @@ set prog_output "info good\nsolution good\nvalue good" do_test fsolve-2.m -# fsolve_options +set test fsolve_options-1 +set prog_output "ans = 1" +do_test fsolve_options-1.m + +set test fsolve_options-2 +set prog_output "\n... quad_options:.*" +do_test fsolve_options-2.m + +set test fsolve_options-3 +set prog_output "\n... quad_options:.*" +do_test fsolve_options-3.m
--- a/test/octave.test/optim/optim.exp +++ b/test/octave.test/optim/optim.exp @@ -1,6 +1,4 @@ -# qpsol -# qpsol_options -# npsol -# npsol_options +## The following functions need to have tests written for them: + # gls # ols
--- a/test/octave.test/plot/plot.exp +++ b/test/octave.test/plot/plot.exp @@ -1,3 +1,5 @@ +## The following functions need to have tests written for them: + # bar # hist # stairs
--- a/test/octave.test/quad/quad.exp +++ b/test/octave.test/quad/quad.exp @@ -1,3 +1,7 @@ +## The following functions need to have tests written for them: + +# colloc + set test quad-1 set prog_output "ans = 1" do_test quad-1.m @@ -25,5 +29,3 @@ set test quad_options-3 set prog_output "\n... quad_options:.*" do_test quad_options-3.m - -# colloc
--- a/test/octave.test/signal/signal.exp +++ b/test/octave.test/signal/signal.exp @@ -1,3 +1,5 @@ +## The following functions need to have tests written for them: + # detrend # fft # ifft
--- a/test/octave.test/stats/stats.exp +++ b/test/octave.test/stats/stats.exp @@ -1,3 +1,5 @@ +## The following functions need to have tests written for them: + # mean # median # std
--- a/test/octave.test/system/system.exp +++ b/test/octave.test/system/system.exp @@ -1,3 +1,16 @@ +## The following functions need to have tests written for them: + +# mkfifo +# system +# popen +# pclose +# fork +# exec +# pipe +# dup2 +# waitpid +# fcntl + set test time-1 set prog_output "ans = 1" do_test time-1.m @@ -198,8 +211,6 @@ set prog_output "\n... rmdir:.*" do_test rmdir-2.m -# mkfifo - set test umask-1 set prog_output "ans = 1" do_test umask-1.m @@ -288,16 +299,6 @@ set prog_output "\n... tilde_expand:.*" do_test tilde_expand-3.m -# system -# popen -# pclose -# fork -# exec -# pipe -# dup2 -# waitpid -# fcntl - set test getpgrp-1 set prog_output "ans = 1" do_test getpgrp-1.m