blob: d84b2b6c486fca85f36d9204f4472d7dd4cad999 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
Test 1. Should print five PAM headers
P7
WIDTH 14
HEIGHT 16
DEPTH 1
MAXVAL 1
TUPLTYPE BLACKANDWHITE
ENDHDR
P7
WIDTH 1
HEIGHT 1
DEPTH 1
MAXVAL 255
TUPLTYPE GRAYSCALE
ENDHDR
P7
WIDTH 227
HEIGHT 149
DEPTH 3
MAXVAL 255
TUPLTYPE RGB
ENDHDR
P7
WIDTH 64
HEIGHT 1
DEPTH 2
MAXVAL 7
TUPLTYPE GRAYSCALE_ALPHA
ENDHDR
P7
WIDTH 16
HEIGHT 1
DEPTH 4
MAXVAL 1
TUPLTYPE RGB_ALPHA
ENDHDR
Test 2. Should print 2260748250 293
2260748250 293
Test 3. Should print 1873848880 101532
1873848880 101532
Test 4. Should print 1475247910 3432 twice
1475247910 3432
1475247910 3432
Test 5. Should print 2347274358 101825 twice
2347274358 101825
2347274358 101825
|