"Evaluating first chunk of the test set"
(Smalltalk includesKey: #Smalltalk) ifFalse: [
self print: 'Require s8 execution environment.'.
self abort
].
(Smalltalk includesKey: #NSObject) ifFalse: [
self print: 'Require coco8 platform.'.
self abort
].
Smalltalk nativeObjectAt: #Clarifai ifAbsent: [
self print: 'Require Clarifai framework.'.
self abort
].
"Ensure the Clarifai.framework is bound to the system"
[ Clarifai sharedInstance isNil ifTrue: [ self error: 'Canīt access shared instance' ]
] on: Error do: [:error|
self print: 'Clarifai.framework must be bound to application to run tests'.
self abort
].
|