Mercurial > octave
changeset 29635:955832ec3af1
logspace.m: Mark tests as known to fail on macOS (bug #55538).
* scripts/general/logspace.m: Duplicate tests to mark them as known errors on
macOS.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 01 May 2021 15:17:28 +0200 |
parents | 1b945016d837 |
children | f4a57a41f1e7 |
files | scripts/general/logspace.m |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/general/logspace.m Wed May 05 12:15:56 2021 +1000 +++ b/scripts/general/logspace.m Sat May 01 15:17:28 2021 +0200 @@ -106,8 +106,14 @@ ## Edge cases %!assert (logspace (Inf, Inf, 3), [Inf, Inf, Inf]) %!assert (logspace (-Inf, Inf, 3), [0, 1, Inf]) -%!assert (logspace (Inf + 1i, Inf + 1i, 3), repmat (complex (-Inf,Inf), [1, 3])) -%!assert (logspace (-Inf + 1i, Inf + 1i, 3), [0, NaN + NaN * 1i, complex(-Inf, Inf)]) +%!testif ; ! ismac () +%! assert (logspace (Inf + 1i, Inf + 1i, 3), repmat (complex (-Inf,Inf), [1, 3])) +%!testif ; ismac () <55538> +%! assert (logspace (Inf + 1i, Inf + 1i, 3), repmat (complex (-Inf,Inf), [1, 3])) +%!testif ; ! ismac () +%! assert (logspace (-Inf + 1i, Inf + 1i, 3), [0, NaN + NaN * 1i, complex(-Inf, Inf)]) +%!testif ; ismac () <55538> +%! assert (logspace (-Inf + 1i, Inf + 1i, 3), [0, NaN + NaN * 1i, complex(-Inf, Inf)]) %!assert (logspace (0, Inf, 3), [1, Inf, Inf]) %!assert (logspace (0, -Inf, 3), [1, 0, 0]) %!assert (logspace (Inf, -Inf, 3), [Inf, 1, 0])