Integer expected = 10; Integer actual = MyClass.calculateSum(5, 5); System.assertEquals(expected, actual, 'The sum should be 10');
Standard input is empty
Object: Integer error: did not understand #expected MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254) Integer class(Object)>>doesNotUnderstand: #expected (SysExcept.st:1448) UndefinedObject>>executeStatements (prog:1) Object: nil error: did not understand #associationAt:ifAbsent: MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254) UndefinedObject(Object)>>doesNotUnderstand: #associationAt:ifAbsent: (SysExcept.st:1448) DeferredVariableBinding>>resolvePathFrom: (DeferBinding.st:115) DeferredVariableBinding>>value (DeferBinding.st:69) UndefinedObject>>executeStatements (prog:2) Object: 5 error: did not understand #, MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254) SmallInteger(Object)>>doesNotUnderstand: #, (SysExcept.st:1448) UndefinedObject>>executeStatements (prog:2)
./prog:2: expected expression