Mercurial > octave
changeset 20528:50bf240978e6
text.m: Remove FIXME comments that have been verified okay.
* text.m: Remove FIXME comments that have been verified okay.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 29 Sep 2015 12:42:10 -0700 |
parents | 2d9ec16fa960 |
children | 2e7a09136516 |
files | scripts/plot/appearance/text.m |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/appearance/text.m Tue Sep 29 12:00:11 2015 -0700 +++ b/scripts/plot/appearance/text.m Tue Sep 29 12:42:10 2015 -0700 @@ -323,21 +323,19 @@ %! h = text ([0.1, 0.1], [0.5, 0.6], {"two objects with same cellstr"}); %! assert (class (get (h(1), "string")), "cell"); %! assert (class (get (h(2), "string")), "cell"); -%! ## FIXME: is return value of cellstr, rather than string, Matlab-verified? %! assert (get (h(1), "string"), {"two objects with same cellstr"}); %! assert (get (h(2), "string"), {"two objects with same cellstr"}); %! %! ## Multiple objects with same multi-line string which has empty cell +%! ## NOTE: Matlab does not support this syntax %! h = text ([0.7, 0.7], [0.3 0.5], {"Line1"; []; "Line3"}); %! assert (class (get (h(1), "string")), "cell"); %! assert (class (get (h(2), "string")), "cell"); -%! ## FIXME: is return value of cellstr, rather than string, Matlab-verified? %! assert (get (h(1), "string"), {"Line1"; ""; "Line3"}); %! assert (get (h(2), "string"), {"Line1"; ""; "Line3"}); %! %! ## Multiple objects with multiple lines %! h = text ([0.1, 0.1], [0.7, 0.8], {"cellstr1", "cellstr2"}); -%! ## FIXME: is return value really char in Matlab? %! assert (class (get (h(1), "string")), "char"); %! assert (class (get (h(2), "string")), "char"); %! assert (get (h(1), "string"), "cellstr1");