7da811246c
* adding avoid crash behavior * more implementation * add another simple behavior * fixed synched motors * bump common packages
13 lines
328 B
TypeScript
13 lines
328 B
TypeScript
// EV3 specific test functions
|
|
tests.onEvent(TestEvent.RunSetUp, function() {
|
|
console.sendToScreen();
|
|
})
|
|
tests.onEvent(TestEvent.TestSetUp, function() {
|
|
motors.stopAllMotors();
|
|
motors.resetAllMotors();
|
|
})
|
|
tests.onEvent(TestEvent.TestTearDown, function() {
|
|
motors.stopAllMotors();
|
|
motors.resetAllMotors();
|
|
})
|