comparison src/pr-output.cc @ 9629:e1345a9002e8

pr-output.cc: new test
author John W. Eaton <jwe@octave.org>
date Tue, 08 Sep 2009 14:44:55 -0400
parents 66970dd627f6
children 85dd3a2c9355
comparison
equal deleted inserted replaced
9628:73e6ad869f08 9629:e1345a9002e8
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;