tests: Expand sound

Check Sound.duration and Sound.getDuration() for detached sounds.
Check rounding behavior of Sound.duration and Sound.getDuration()
behind a comment because NullAudioBackend doesn't respect durations.
TODO: Uncomment it once NullAudioBackend returns real durations.
This commit is contained in:
relrelb 2021-04-16 23:38:25 +03:00 committed by Mike Welsh
parent e3478248ac
commit 6a34070e76
3 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ left-to-right: 0
right-to-left: 0
right-to-right: 100
sound.duration: undefined
sound.getDuration(): undefined
Sound.setVolume(50.5)
volume: 50
pan: 0

Binary file not shown.

Binary file not shown.