Mercurial > hg > octave-lyh
changeset 15623:d928ad126b66
maint: add a new test for Fsum corresponding to cset e9d842dcfc91
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Fri, 23 Nov 2012 11:42:13 -0500 |
parents | e9d842dcfc91 |
children | 550147454137 |
files | libinterp/interpfcn/data.cc |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/interpfcn/data.cc +++ b/libinterp/interpfcn/data.cc @@ -2880,6 +2880,9 @@ %!assert (sum (zeros (2, 2, 0, 3, "single"), 4), zeros (2, 2, 0, "single")) %!assert (sum (zeros (2, 2, 0, 3, "single"), 7), zeros (2, 2, 0, 3, "single")) +;-) +%!assert (sum ("Octave") + "8", sumsq (primes (17))) + %!error sum () */