Mercurial > octave
comparison src/pr-output.cc @ 12087:6ba99f799ec1 release-3-2-x
pr-output.cc: new test
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 09 Sep 2009 14:14:32 +0200 |
parents | 330cf1e13fb6 |
children |
comparison
equal
deleted
inserted
replaced
12086:330cf1e13fb6 | 12087:6ba99f799ec1 |
---|---|
3348 print_usage (); | 3348 print_usage (); |
3349 | 3349 |
3350 return retval; | 3350 return retval; |
3351 } | 3351 } |
3352 | 3352 |
3353 /* | |
3354 %!test | |
3355 %! format short | |
3356 %! fd = tmpfile (); | |
3357 %! for r = [0, Inf -Inf, NaN] | |
3358 %! for i = [0, Inf -Inf, NaN] | |
3359 %! fdisp (fd, complex (r, i)); | |
3360 %! endfor | |
3361 %! endfor | |
3362 %! fclose (fd); | |
3363 */ | |
3364 | |
3353 static void | 3365 static void |
3354 init_format_state (void) | 3366 init_format_state (void) |
3355 { | 3367 { |
3356 free_format = false; | 3368 free_format = false; |
3357 plus_format = false; | 3369 plus_format = false; |