[squeak-dev] FFI: FFI-Tests-mt.53.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Aug 6 16:18:59 UTC 2021
Marcel Taeumel uploaded a new version of FFI-Tests to project FFI:
http://source.squeak.org/FFI/FFI-Tests-mt.53.mcz
==================== Summary ====================
Name: FFI-Tests-mt.53
Author: mt
Time: 6 August 2021, 6:18:58.316096 pm
UUID: 0b262385-74fd-0045-81c2-8d5f297b90e7
Ancestors: FFI-Tests-mt.52
Complements FFI-Kernel-mt.187
=============== Diff against FFI-Tests-mt.52 ===============
Item was added:
+ ----- Method: FFIAllocateTests>>test05ZeroMemory (in category 'tests') -----
+ test05ZeroMemory
+
+ 1 to: 32 do: [:numBytes |
+ | array |
+ array := ByteArray new: numBytes withAll: 1.
+ self deny: (array allSatisfy: [:byte | byte = 0]).
+ array zeroMemory: numBytes.
+ self assert: (array allSatisfy: [:byte | byte = 0])].!
More information about the Squeak-dev
mailing list
|