2018-01-04 18:23:28 +01:00
|
|
|
// EV3 specific test functions
|
|
|
|
tests.onEvent(TestEvent.RunSetUp, function() {
|
|
|
|
console.sendToScreen();
|
|
|
|
})
|
|
|
|
tests.onEvent(TestEvent.TestSetUp, function() {
|
2018-02-14 17:56:12 +01:00
|
|
|
motors.stopAll();
|
2019-09-29 18:49:13 +02:00
|
|
|
motors.resetAll();
|
2018-01-04 18:23:28 +01:00
|
|
|
})
|
|
|
|
tests.onEvent(TestEvent.TestTearDown, function() {
|
2018-02-14 17:56:12 +01:00
|
|
|
motors.stopAll();
|
2019-09-29 18:49:13 +02:00
|
|
|
motors.resetAll();
|
2018-01-04 18:23:28 +01:00
|
|
|
})
|