523c507c35
* integrating test lesson from lego * adding side card annotations
13 lines
316 B
TypeScript
13 lines
316 B
TypeScript
// EV3 specific test functions
|
|
tests.onEvent(TestEvent.RunSetUp, function() {
|
|
console.sendToScreen();
|
|
})
|
|
tests.onEvent(TestEvent.TestSetUp, function() {
|
|
motors.stopAll();
|
|
motors.resetAllMotors();
|
|
})
|
|
tests.onEvent(TestEvent.TestTearDown, function() {
|
|
motors.stopAll();
|
|
motors.resetAllMotors();
|
|
})
|