fork download
  1. Integer expected = 10;
  2. Integer actual = MyClass.calculateSum(5, 5);
  3. System.assertEquals(expected, actual, 'The sum should be 10');
  4.  
Success #stdin #stdout #stderr 0.01s 11576KB
stdin
Standard input is empty
stdout
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)
stderr
./prog:2: expected expression