We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EEAdditionTest >> testEvaluateWithClassCreationMessage | ep1 ep2 | ep1 := EConstant constant5. ep2 := EConstant constant3. self assert: (EAddition left: ep1 right: ep2) evaluate equals: 8
Ici on n'a pas encore définir message constant5 et constant3.
EConstantTest >> testPrinting self assert: (EConstant value: 5) printString equals: '5'
Ici on peut remplace (EConstant value: 5) à EConstant constant5
16.16 Variables Page195 Back to variable expressions
EVariable >> printOn: aStream aStream nexPutAll: id asString
Il manque un 't': nextPutAll: .
The text was updated successfully, but these errors were encountered:
No branches or pull requests
16.9 Class creation messages Page182
Better instance creation for additions:
EEAdditionTest >> testEvaluateWithClassCreationMessage
| ep1 ep2 |
ep1 := EConstant constant5.
ep2 := EConstant constant3.
self assert: (EAddition left: ep1 right: ep2) evaluate equals: 8
Ici on n'a pas encore définir message constant5 et constant3.
Printing constant
EConstantTest >> testPrinting
self assert: (EConstant value: 5) printString equals: '5'
Ici on peut remplace (EConstant value: 5) à EConstant constant5
16.16 Variables Page195
Back to variable expressions
EVariable >> printOn: aStream
aStream nexPutAll: id asString
Il manque un 't': nextPutAll: .
The text was updated successfully, but these errors were encountered: