The Trunk: GraphicsTests-ar.28.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: GraphicsTests-ar.28.mcz

commits-2
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@1) = Color red.
  self assert: (form colorAt: 1@7) = Color green.
  self assert: (form colorAt: 7@7) = Color blue.
  self assert: (form colorAt: 4@4) = Color white.
+ self assert: (form pixelValueAt: 1@1) = 16rFF000001.
- self assert: (form pixelValueAt: 1@1) = 16rFF000000.
  !