Levente Uzonyi uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-ul.429.mcz==================== Summary ====================
Name: Tests-ul.429
Author: ul
Time: 18 March 2020, 7:46:07.363262 pm
UUID: 8cb527c8-aeb4-4085-b0ea-dd7f2d9ee770
Ancestors: Tests-cmm.428
- test ThirtyTwoBitRegister>>leftRotateBy: with negative arguments as well
=============== Diff against Tests-cmm.428 ===============
Item was changed:
----- Method: ThirtyTwoBitRegisterTest>>testLeftRotateBy (in category 'tests - accumulator ops') -----
testLeftRotateBy
+ -33 to: 33 do: [ :shift |
- 0 to: 33 do: [ :shift |
self
assertUnaryRegisterOperation: [ :rx | rx leftRotateBy: shift ]
gives: [ :x |
| actualShift |
actualShift := shift \\ 32.
(x << actualShift bitOr: x >> (32 - actualShift)) bitAnd: 16rFFFFFFFF ]
times: 1000 ]!