Mercurial > octave
diff scripts/general/integral3.m @ 28907:11f1207111c5
maint: Don't use semicolon at end of single-line BIST tests.
* Cell.cc, colamd.cc, mappers.cc, sparse.cc, strfns.cc, sub2ind.cc, tril.cc,
variables.cc, ov-cell.cc, integral3.m, quadv.m, import.m, isosurface.m,
betainc.m, cosint.m, gammainc.m, native2unicode.m, bug-50014.tst,
package-function.tst, static-method.tst, func.tst, if.tst, bug-51725.tst,
mk-sparse-tst.sh, nest.tst, pkg.tst:
Delete semicolon from end of %!assert, %!error, %!warning
single-line BIST tests.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 13 Oct 2020 14:23:39 -0700 |
parents | bd51beb6205e |
children | 0de38a6ef693 |
line wrap: on
line diff
--- a/scripts/general/integral3.m Tue Oct 13 13:55:09 2020 -0700 +++ b/scripts/general/integral3.m Tue Oct 13 14:23:39 2020 -0700 @@ -286,10 +286,10 @@ %!shared f %! f = @(x, y, z) x .* y .* z; -%!assert (integral3 (f, 0, 1, 0, 1, 0, 1), 0.125, 1e-10); -%!assert (integral3 (f, 0, 1, 0, 1, 0, 1, "method", "tiled"), 0.125, 1e-10); -%!assert (integral3 (f, 0, 1, 0, 1, 0, 1, "method", "iterated"), 0.125, 1e-10); -%!assert (integral3 (f, 0, 1, 0, 1, 0, 1, "method", "auto"), 0.125, 1e-10); +%!assert (integral3 (f, 0, 1, 0, 1, 0, 1), 0.125, 1e-10) +%!assert (integral3 (f, 0, 1, 0, 1, 0, 1, "method", "tiled"), 0.125, 1e-10) +%!assert (integral3 (f, 0, 1, 0, 1, 0, 1, "method", "iterated"), 0.125, 1e-10) +%!assert (integral3 (f, 0, 1, 0, 1, 0, 1, "method", "auto"), 0.125, 1e-10) ## vectorized = false test %!test