[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

broken-test[S8ObjC] cast-number

SwikiCodeRobot @> 378

"Test Number -> NSNumber casting works"
| pi |
pi := Number pi.
((ID value: pi) handle value: #doubleValue) = pi ifFalse: [
	self error: 'Wrong value'
]