replacing loops.pause -> pause, loops.forever -> forever

This commit is contained in:
Peli de Halleux
2018-02-14 16:05:31 -08:00
parent 0384eb4d9d
commit daa88b299d
62 changed files with 151 additions and 151 deletions

View File

@ -15,7 +15,7 @@ tests.test("Bright ambient light", function () {
let actualLight: number
for (let i = 0; i < 4; i++) {
actualLight = sensors.color1.ambientLight()
loops.pause(500)
pause(500)
}
tests.assertClose("Light", actualLight, 20, 15)
})
@ -29,7 +29,7 @@ tests.test("Bright reflected light", function () {
let actualLight: number
for (let i = 0; i < 4; i++) {
actualLight = sensors.color1.reflectedLight()
loops.pause(500)
pause(500)
}
tests.assertClose("Light", actualLight, 17, 14)
})