[squeak-dev] FFI: FFI-Tests-mt.39.mcz

commits at source.squeak.org commits at source.squeak.org
Sun May 16 05:59:38 UTC 2021


Marcel Taeumel uploaded a new version of FFI-Tests to project FFI:
http://source.squeak.org/FFI/FFI-Tests-mt.39.mcz

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

Name: FFI-Tests-mt.39
Author: mt
Time: 16 May 2021, 7:59:36.04458 am
UUID: 2a91569c-d035-c442-8ba5-0accd6901992
Ancestors: FFI-Tests-mt.38

Complements FFI-Kernel-mt.152

=============== Diff against FFI-Tests-mt.38 ===============

Item was changed:
  ----- Method: FFIAllocateTests>>test06StructureAsArray (in category 'tests - structure') -----
  test06StructureAsArray
  
  	| sfi array element |
  	sfi := self allocate: FFITestSfi.
  	sfi f1: 2.5.		
  	sfi i2: 10.
  
+ 	array := ExternalData with: sfi reader.
- 	array := sfi reader asArray.
  	element := array first.
  
  	self assert: (sfi ffiIdentical: element).
  	self assert: (sfi ffiEqual: element).
  
  	self assert: 2.5 equals: element f1.
  	self assert: 10 equals: element i2.!



More information about the Squeak-dev mailing list