[Pkg] The Trunk: GraphicsTests-ar.28.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Dec 22 04:17:21 UTC 2010


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

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

Name: GraphicsTests-ar.28
Author: ar
Time: 21 December 2010, 8:16:57.489 pm
UUID: 7c53de5f-a353-4c46-9be7-8b9231860d54
Ancestors: GraphicsTests-fbs.27

Update BMPReadWriterTest.

=============== Diff against GraphicsTests-fbs.27 ===============

Item was changed:
  ----- Method: BMPReadWriterTest>>testBmp24Bit (in category 'reading') -----
  testBmp24Bit
  	| reader form |
  	reader := BMPReadWriter new on: (ReadStream on: self bmpData24bit).
  	form := reader nextImage.
  	self assert: (form colorAt: 7 at 1) = Color red.
  	self assert: (form colorAt: 1 at 7) = Color green.
  	self assert: (form colorAt: 7 at 7) = Color blue.
  	self assert: (form colorAt: 4 at 4) = Color white.
+ 	self assert: (form pixelValueAt: 1 at 1) = 16rFF000001.
- 	self assert: (form pixelValueAt: 1 at 1) = 16rFF000000.
  !



More information about the Packages mailing list