[squeak-dev] The Trunk: GraphicsTests-ar.29.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jan 7 16:21:38 UTC 2011


Andreas Raab uploaded a new version of GraphicsTests to project The Trunk:
http://source.squeak.org/trunk/GraphicsTests-ar.29.mcz

==================== Summary ====================

Name: GraphicsTests-ar.29
Author: ar
Time: 7 January 2011, 5:21:12.214 pm
UUID: 007912bb-9bd5-e54a-baf4-4d74d5d886e3
Ancestors: GraphicsTests-ar.28

Add test documenting a problem with PNGReadWriter.

=============== Diff against GraphicsTests-ar.28 ===============

Item was added:
+ ----- Method: PNGReadWriterTest>>grayScaleData (in category 'tests - grayscale') -----
(excessive size, no diff calculated)

Item was added:
+ ----- Method: PNGReadWriterTest>>testGrayScale (in category 'tests - grayscale') -----
+ testGrayScale
+ 
+ 	| form reader |
+ 	reader := PNGReadWriter on: self grayScaleData readStream.
+ 	form := reader nextImage.
+ 	self assert: form extent = (217 at 125).
+ 	self assert: form depth = 8.
+ !




More information about the Squeak-dev mailing list