equal
deleted
inserted
replaced
253 self run:#testPNG_002_basn0g02 |
253 self run:#testPNG_002_basn0g02 |
254 self new testPNG_002_basn0g02 |
254 self new testPNG_002_basn0g02 |
255 " |
255 " |
256 |
256 |
257 "Created: / 05-02-2011 / 10:33:24 / cg" |
257 "Created: / 05-02-2011 / 10:33:24 / cg" |
|
258 ! |
|
259 |
|
260 testPNG_003_basi0g01 |
|
261 |img| |
|
262 |
|
263 img := Image fromFile:(self class packageDirectory construct:'testData/pngImages/basi0g01.png'). |
|
264 self assert:(img notNil). |
|
265 self assert:(img depth == 1). |
|
266 self assert:(img extent = (32@32)). |
|
267 self assert:(img colorAt:(0@0)) = Color white. |
|
268 self assert:(img colorAt:(31@31)) = Color black. |
|
269 |
|
270 "/ img inspect. |
|
271 " |
|
272 self run:#testPNG_003_basi0g01 |
|
273 self new testPNG_003_basi0g01 |
|
274 " |
|
275 |
|
276 "Created: / 05-02-2011 / 10:32:32 / cg" |
258 ! |
277 ! |
259 |
278 |
260 test_bmp_01 |
279 test_bmp_01 |
261 |img allOK| |
280 |img allOK| |
262 |
281 |