Mercurial > octave
changeset 32653:8dfe116fb0fe
maint: Remove unnecessary BIST test for interpreter in cset 475939906cbb.
Remove unnecessary BIST test of number of inputs which doesn't test m-file, but
rather the interpreter.
* autumn.m, bone.m, colorcube.m, cool.m, copper.m, cubehelix.m, flag.m, gray.m,
hot.m, hsv.m, jet.m, lines.m, ocean.m, pink.m, prism.m, rainbow.m, spring.m,
summer.m, turbo.m, viridis.m, white.m, winter.m:
Remove '%!error <function called with too many inputs>' BIST test.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 26 Dec 2023 13:06:35 -0800 |
parents | e0beb989c296 |
children | 9f0a15acdaea |
files | scripts/image/autumn.m scripts/image/bone.m scripts/image/colorcube.m scripts/image/cool.m scripts/image/copper.m scripts/image/cubehelix.m scripts/image/flag.m scripts/image/gray.m scripts/image/hot.m scripts/image/hsv.m scripts/image/jet.m scripts/image/lines.m scripts/image/ocean.m scripts/image/pink.m scripts/image/prism.m scripts/image/rainbow.m scripts/image/spring.m scripts/image/summer.m scripts/image/turbo.m scripts/image/viridis.m scripts/image/white.m scripts/image/winter.m |
diffstat | 22 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/image/autumn.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/autumn.m Tue Dec 26 13:06:35 2023 -0800 @@ -88,7 +88,6 @@ %!assert (autumn (11), [ones(1,11); [0:0.1:1]; zeros(1,11)]', eps) ## Input validation -%!error <function called with too many inputs> autumn (1, 2) %!error <N must be a scalar> autumn ("foo") %!error <N must be a scalar> autumn ([1, 2, 3]) %!error <N must be a scalar> autumn ({1, 2, 3})
--- a/scripts/image/bone.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/bone.m Tue Dec 26 13:06:35 2023 -0800 @@ -122,7 +122,6 @@ %! assert (bone (5), a, eps) ## Input validation -%!error <function called with too many inputs> bone (1, 2) %!error <N must be a scalar> bone ("foo") %!error <N must be a scalar> bone ([1, 2, 3]) %!error <N must be a scalar> bone ({1, 2, 3})
--- a/scripts/image/colorcube.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/colorcube.m Tue Dec 26 13:06:35 2023 -0800 @@ -139,7 +139,6 @@ %! assert (colorcube (12), a, eps) ## Input validation -%!error <function called with too many inputs> colorcube (1, 2) %!error <N must be a scalar> colorcube ("foo") %!error <N must be a scalar> colorcube ([1, 2, 3]) %!error <N must be a scalar> colorcube ({1, 2, 3})
--- a/scripts/image/cool.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/cool.m Tue Dec 26 13:06:35 2023 -0800 @@ -87,7 +87,6 @@ %!assert (cool (11), [[0:0.1:1]; [1:-0.1:0]; ones(1,11)]', eps) ## Input validation -%!error <function called with too many inputs> cool (1, 2) %!error <N must be a scalar> cool ("foo") %!error <N must be a scalar> cool ([1, 2, 3]) %!error <N must be a scalar> cool ({1, 2, 3})
--- a/scripts/image/copper.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/copper.m Tue Dec 26 13:06:35 2023 -0800 @@ -93,7 +93,6 @@ %! assert (copper (6), a, eps) ## Input validation -%!error <function called with too many inputs> copper (1, 2) %!error <N must be a scalar> copper ("foo") %!error <N must be a scalar> copper ([1, 2, 3]) %!error <N must be a scalar> copper ({1, 2, 3})
--- a/scripts/image/cubehelix.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/cubehelix.m Tue Dec 26 13:06:35 2023 -0800 @@ -124,7 +124,6 @@ %!shared # Clear shared varibles to avoid echo on unrelated test errors. ## Input validation -%!error <function called with too many inputs> cubehelix (1, 2, 3, 4 ,5 ,6) %!error <N must be a scalar> cubehelix ("foo") %!error <N must be a scalar> cubehelix ([1, 2, 3]) %!error <N must be a scalar> cubehelix ({1, 2, 3})
--- a/scripts/image/flag.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/flag.m Tue Dec 26 13:06:35 2023 -0800 @@ -99,7 +99,6 @@ %! assert (flag (12), a, eps) ## Input validation -%!error <function called with too many inputs> flag (1, 2) %!error <N must be a scalar> flag ("foo") %!error <N must be a scalar> flag ([1, 2, 3]) %!error <N must be a scalar> flag ({1, 2, 3})
--- a/scripts/image/gray.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/gray.m Tue Dec 26 13:06:35 2023 -0800 @@ -86,7 +86,6 @@ %!assert (gray (11), [0:.1:1]' .* [1, 1, 1], eps) ## Input validation -%!error <function called with too many inputs> gray (1, 2) %!error <N must be a scalar> gray ("foo") %!error <N must be a scalar> gray ([1, 2, 3]) %!error <N must be a scalar> gray ({1, 2, 3})
--- a/scripts/image/hot.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/hot.m Tue Dec 26 13:06:35 2023 -0800 @@ -116,7 +116,6 @@ %! assert (hot (11), a, eps); ## Input validation -%!error <function called with too many inputs> hot (1, 2) %!error <N must be a scalar> hot ("foo") %!error <N must be a scalar> hot ([1, 2, 3]) %!error <N must be a scalar> hot ({1, 2, 3})
--- a/scripts/image/hsv.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/hsv.m Tue Dec 26 13:06:35 2023 -0800 @@ -91,7 +91,6 @@ %!assert (hsv (6)(:), [1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1]') ## Input validation -%!error <function called with too many inputs> hsv (1, 2) %!error <N must be a scalar> hsv ("foo") %!error <N must be a scalar> hsv ([1, 2, 3]) %!error <N must be a scalar> hsv ({1, 2, 3})
--- a/scripts/image/jet.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/jet.m Tue Dec 26 13:06:35 2023 -0800 @@ -133,7 +133,6 @@ %! assert (jet (15), a, eps) ## Input validation -%!error <function called with too many inputs> jet (1, 2) %!error <N must be a scalar> jet ("foo") %!error <N must be a scalar> jet ([1, 2, 3]) %!error <N must be a scalar> jet ({1, 2, 3})
--- a/scripts/image/lines.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/lines.m Tue Dec 26 13:06:35 2023 -0800 @@ -96,7 +96,6 @@ %! assert (lines (3*nr), [a;a;a]); ## Input validation -%!error <function called with too many inputs> lines (1, 2) %!error <N must be a scalar> lines ("foo") %!error <N must be a scalar> lines ([1, 2, 3]) %!error <N must be a scalar> lines ({1, 2, 3})
--- a/scripts/image/ocean.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/ocean.m Tue Dec 26 13:06:35 2023 -0800 @@ -103,7 +103,6 @@ %! assert (ocean (11), a, eps) ## Input validation -%!error <function called with too many inputs> ocean (1, 2) %!error <N must be a scalar> ocean ("foo") %!error <N must be a scalar> ocean ([1, 2, 3]) %!error <N must be a scalar> ocean ({1, 2, 3})
--- a/scripts/image/pink.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/pink.m Tue Dec 26 13:06:35 2023 -0800 @@ -112,7 +112,6 @@ %! assert (pink (4), a, eps) ## Input validation -%!error <function called with too many inputs> pink (1, 2) %!error <N must be a scalar> pink ("foo") %!error <N must be a scalar> pink ([1, 2, 3]) %!error <N must be a scalar> pink ({1, 2, 3})
--- a/scripts/image/prism.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/prism.m Tue Dec 26 13:06:35 2023 -0800 @@ -88,7 +88,6 @@ %! assert (prism (3*nr), [a;a;a]); ## Input validation -%!error <function called with too many inputs> prism (1, 2) %!error <N must be a scalar> prism ("foo") %!error <N must be a scalar> prism ([1, 2, 3]) %!error <N must be a scalar> prism ({1, 2, 3})
--- a/scripts/image/rainbow.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/rainbow.m Tue Dec 26 13:06:35 2023 -0800 @@ -100,7 +100,6 @@ %!assert (rainbow (6)(:), [1, 1, 1, 0, 0, 2/3, 0, 0.5, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1]', 3*eps) ## Input validation -%!error <function called with too many inputs> rainbow (1, 2) %!error <N must be a scalar> rainbow ("foo") %!error <N must be a scalar> rainbow ([1, 2, 3]) %!error <N must be a scalar> rainbow ({1, 2, 3})
--- a/scripts/image/spring.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/spring.m Tue Dec 26 13:06:35 2023 -0800 @@ -87,7 +87,6 @@ %!assert (spring (-1), zeros (0, 3)) ## Input validation -%!error <function called with too many inputs> spring (1, 2) %!error <N must be a scalar> spring ("foo") %!error <N must be a scalar> spring ([1, 2, 3]) %!error <N must be a scalar> spring ({1, 2, 3})
--- a/scripts/image/summer.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/summer.m Tue Dec 26 13:06:35 2023 -0800 @@ -87,7 +87,6 @@ %!assert (summer (11), [[0:0.1:1]; [0.5:0.05:1]; 0.4 * ones(1,11)]', eps) ## Input validation -%!error <function called with too many inputs> summer (1, 2) %!error <N must be a scalar> summer ("foo") %!error <N must be a scalar> summer ([1, 2, 3]) %!error <N must be a scalar> summer ({1, 2, 3})
--- a/scripts/image/turbo.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/turbo.m Tue Dec 26 13:06:35 2023 -0800 @@ -349,7 +349,6 @@ %!shared # Clear shared varibles to avoid echo on unrelated test errors. ## Input validation -%!error <function called with too many inputs> turbo (1, 2) %!error <N must be a scalar> turbo ("foo") %!error <N must be a scalar> turbo ([1, 2, 3]) %!error <N must be a scalar> turbo ({1, 2, 3})
--- a/scripts/image/viridis.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/viridis.m Tue Dec 26 13:06:35 2023 -0800 @@ -349,7 +349,6 @@ %!shared # Clear shared varibles to avoid echo on unrelated test errors. ## Input validation -%!error <function called with too many inputs> viridis (1, 2) %!error <N must be a scalar> viridis ("foo") %!error <N must be a scalar> viridis ([1, 2, 3]) %!error <N must be a scalar> viridis ({1, 2, 3})
--- a/scripts/image/white.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/white.m Tue Dec 26 13:06:35 2023 -0800 @@ -75,7 +75,6 @@ ## Input validation -%!error <function called with too many inputs> white (1, 2) %!error <N must be a scalar> white ("foo") %!error <N must be a scalar> white ([1, 2, 3]) %!error <N must be a scalar> white ({1, 2, 3})
--- a/scripts/image/winter.m Tue Dec 26 14:49:58 2023 -0500 +++ b/scripts/image/winter.m Tue Dec 26 13:06:35 2023 -0800 @@ -87,7 +87,6 @@ %!assert (winter (11), [zeros(1,11); [0:0.1:1]; [1:-0.05:0.5]]', eps) ## Input validation -%!error <function called with too many inputs> winter (1, 2) %!error <N must be a scalar> winter ("foo") %!error <N must be a scalar> winter ([1, 2, 3]) %!error <N must be a scalar> winter ({1, 2, 3})