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

test[libm] index

SwikiCodeRobot @> #testLibmIndex

Code

"Check LibM is actually included in the image"
(Smalltalk includesKey: #LibM) ifFalse: [
    self error: 'Missing LibM implementation'
].

(LibM current ceil: 1.1) = 2 ifFalse: [
    self error: 'Result should be 2'
].

self print: 'Ok - LibM API installed and working'

References