Skip to content

Commit

Permalink
Update sound test
Browse files Browse the repository at this point in the history
  • Loading branch information
pvcraven committed Mar 24, 2020
1 parent 920993d commit bffe5ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit2/test_sound.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def update(self, dt):

if self.frame_count == 180:
self.laser_mp3.play()
assert self.laser_mp3.get_volume() == 1.0
self.laser_mp3.set_volume(0.5)
assert self.laser_mp3.get_volume() == 0.5

if self.frame_count == 200:
self.laser_mp3.stop()
Expand Down

0 comments on commit bffe5ff

Please sign in to comment.