Mercurial > octave
changeset 20991:3ec8332e0e01
maint: Use two newlines between endfunction and start of BIST tests.
* im2double.m, imread.m, iscolormap.m, ntsc2rgb.m:
Use two newlines between endfunction and start of BIST tests.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 26 Dec 2015 20:41:49 -0800 |
parents | fc9cca99b2de |
children | 73e92fca3c78 |
files | scripts/image/im2double.m scripts/image/imread.m scripts/image/iscolormap.m scripts/image/ntsc2rgb.m |
diffstat | 4 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/image/im2double.m Sat Dec 26 18:59:45 2015 -0800 +++ b/scripts/image/im2double.m Sat Dec 26 20:41:49 2015 -0800 @@ -86,6 +86,7 @@ endif endfunction + %!assert (im2double ([1 2 3]), [1 2 3]) %!assert (im2double (single ([1 2 3])), [1 2 3]) %!assert (im2double (uint8 ([0 127 128 255])), [0 127/255 128/255 1])
--- a/scripts/image/imread.m Sat Dec 26 18:59:45 2015 -0800 +++ b/scripts/image/imread.m Sat Dec 26 20:41:49 2015 -0800 @@ -108,6 +108,7 @@ endfunction + %!testif HAVE_MAGICK %! vpng = [ ... %! 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, ...