#
# Area clear test, test addstr.
#
# @(#)addstr	3.1 (SVVS) 12/1/86
#
abstract("areaclear: addstr");
start
	iterations = LINES / 2;
	colnum = 0;

	testing("adding newline as a string to each line of stdscr");
	start
		for ( i = 0 ; i < iterations ; i++ )
		{
			move(0, 0);
			barber('a');
			move(i * 2, colnum);
			addstr("\n");
			colnum = colnum + 2;
			refresh();
			expect();
		}
	finis
finis
