Mercurial > hg > octave-nkf
comparison scripts/help/unimplemented.m @ 12835:0e65376cc44b
codesprint: Add 3 tests for unimplemented.m
* unimplemented.m: Add 3 tests.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 16 Jul 2011 14:40:41 -0700 |
parents | 56bc9eda5c9c |
children | df98c216da32 |
comparison
equal
deleted
inserted
replaced
12834:a12569d5906e | 12835:0e65376cc44b |
---|---|
424 "xmlwrite", | 424 "xmlwrite", |
425 "xslt", | 425 "xslt", |
426 "zoom", | 426 "zoom", |
427 }; | 427 }; |
428 endfunction | 428 endfunction |
429 | |
430 | |
431 %!test | |
432 %! str = unimplemented ("no_name_function"); | |
433 %! assert (isempty (str)); | |
434 %! str = unimplemented ("quad2d"); | |
435 %! assert (str(1:51), "quad2d is not implemented. Consider using dblquad."); | |
436 %! str = unimplemented ("MException"); | |
437 %! assert (str(1:58), "the `MException' function is not yet implemented in Octave"); | |
438 | |
439 |