Mercurial > octave-nkf
comparison scripts/set/powerset.m @ 12855:8f5bd903ba68
codesprint: Correct typos in previous check-ins to get tests running.
* powerset.m: Remove extra parenthesis
* defaults.cc, octave.cc: Add missing parenthesis
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 16 Jul 2011 18:00:15 -0700 |
parents | 0232a5300adf |
children | 72c96de7a403 |
comparison
equal
deleted
inserted
replaced
12854:4e9576618df8 | 12855:8f5bd903ba68 |
---|---|
78 | 78 |
79 | 79 |
80 %!test | 80 %!test |
81 %! c = sort (cellstr ({ [], [1], [2], [3], [1, 2], [1, 3], [2, 3], [1, 2, 3]})); | 81 %! c = sort (cellstr ({ [], [1], [2], [3], [1, 2], [1, 3], [2, 3], [1, 2, 3]})); |
82 %! p = sort (cellstr (powerset ([1, 2, 3]))); | 82 %! p = sort (cellstr (powerset ([1, 2, 3]))); |
83 %! assert (p, c)); | 83 %! assert (p, c); |