Test 1.  Should print a simple PBM image five times
P1
2 2
01
10
P1
2 2
01
10
P1
2 2
01
10
P1
2 2
01
10
P1
2 2
01
10
Test 2.  Should print 3141425598 9, then match twelve times
3141425598 9
match
match
match
match
match
match
match
match
match
match
match
match
Test 3.  Should print 2197356643 895, then match seven times
2197356643 895
match
match
match
match
match
match
match
Test 4.  Should print 3313353797 954, then match six times
3313353797 954
match
match
match
match
match
match
Test 5.  Should print 1731660895 1308, then match eight times
1731660895 1308
match
match
match
match
match
match
match
match
Test 6.  Should print 2985957591 1426, then match nine times
2985957591 1426
match
match
match
match
match
match
match
match
match
Test 7.  Should print a simple PGM image three times
P2
4 4
3
0 0 1 1
0 1 1 2
1 1 2 2
1 2 2 3
P2
4 4
3
0 0 1 1
0 1 1 2
1 1 2 2
1 2 2 3
P2
4 4
3
0 0 1 1
0 1 1 2
1 1 2 2
1 2 2 3
Test 8.  Should print 1102493995 27, then match twelve times
1102493995 27
match
match
match
match
match
match
match
match
match
match
match
match
Test 9.  Should print 3418874152 108, then match eight times
3418874152 108
match
match
match
match
match
match
match
match
Test 10.  Should print 481335892 92, then match eight times
481335892 92
match
match
match
match
match
match
match
match
Test 11.  Should print 2097565808 394, then match seven times
2097565808 394
match
match
match
match
match
match
match
Test 12.  Should print 3086569577 394
3086569577 394
Test 13.  Should print 4288335051 586, then match twice
4288335051 586
match
match
Test 14.  Should print 642720605 586, then match eight times
642720605 586
match
match
match
match
match
match
match
match
Test 15.  Should print 3622741282 1019 twice
3622741282 1019
3622741282 1019
Test 16.  Should print 1401081637 1019
1401081637 1019
Test 17.  Should print 2756501917 1019
2756501917 1019
Test 18. Should print 587933655 107742 twice
587933655 107742
587933655 107742
Test 19.  Should print 3948141157 107742
3948141157 107742
Test 20.  Should print 3910239002 107742
3910239002 107742
