# HG changeset patch # User Rik # Date 1375990272 25200 # Node ID ea5830dc6b19b67053f6a79fbc8ef8d7fd057ca7 # Parent 334d8edd48bc9023733d43c7a7bf62da80241ced test: Correct typo '%assert' -> '%!assert' to have test blocks run. * libinterp/corefcn/data.cc, scripts/image/rgb2ntsc.m: Correct typo '%assert' -> '%!assert'. diff -r 334d8edd48bc -r ea5830dc6b19 libinterp/corefcn/data.cc --- a/libinterp/corefcn/data.cc Thu Aug 08 10:58:37 2013 +0200 +++ b/libinterp/corefcn/data.cc Thu Aug 08 12:31:12 2013 -0700 @@ -4783,9 +4783,9 @@ %! assert (size (x2) == [1, 10] && x2(1) == 1 && x2(10) == 2); %! assert (size (x3) == [1, 10] && x3(1) == 1 && x3(10) == -2); -%assert (linspace ([1, 2; 3, 4], 5, 6), linspace (1, 5, 6)) - -%assert (linspace (0, 1, []), 1) +%! ##assert (linspace ([1, 2; 3, 4], 5, 6), linspace (1, 5, 6)) + +%!assert (linspace (0, 1, []), 1) %!error linspace () %!error linspace (1, 2, 3, 4) diff -r 334d8edd48bc -r ea5830dc6b19 scripts/image/rgb2ntsc.m --- a/scripts/image/rgb2ntsc.m Thu Aug 08 10:58:37 2013 +0200 +++ b/scripts/image/rgb2ntsc.m Thu Aug 08 12:31:12 2013 -0700 @@ -98,9 +98,9 @@ %% Test pure RED, GREEN, BLUE colors -%assert (rgb2ntsc ([1 0 0]), [.299 .587 .114]) -%assert (rgb2ntsc ([0 1 0]), [.596 -.274 -.322]) -%assert (rgb2ntsc ([1 0 1]), [.211 -.523 .312]) +%!assert (rgb2ntsc ([1 0 0]), [.299 .587 .114]) +%!assert (rgb2ntsc ([0 1 0]), [.596 -.274 -.322]) +%!assert (rgb2ntsc ([1 0 1]), [.211 -.523 .312]) %!test %! rgb_map = rand (64, 3);