Test suite failures



Raymond Toy wrote:
> I can't quite figure out from the CLHS the expected value for Prob 48.

I think the correct answer for Prob 48 should be:

printf(false,"0123456789~%|~5t|~4,3t|~,2t|~%|~4,3t|~,2t|");

Result:
0123456789
|    | | |
|   |  |

instead of

0123456789
|    | | |
|   ||

The issue is the last ~,2t.  If the column is not specified it defaults
to 1, so ~,2t should position the cursor at 1+k*2 for the smallest
positive k such that 1+k*2 is past the current cursor position.  The
cursor is at position 5, so k = 3 and the vertical bar should be printed
at position 7.

Ray