# A figure is placed, plays, is taken off mid-playlist and put back. # Run it against fake hardware with: # python -m musicmouse --config --simulate --script scenarios/smoke.txt # The test suite runs the same file on a fake clock. expect playing false expect figure none place fuchs expect figure fuchs expect playing true expect track 0 expect ring EffectSwipeAndChange expect brightness 0.50 # each simulated track is 5s by default wait 6s expect track 1 press right expect track 2 press left expect track 1 remove expect figure none expect playing false expect ring EffectReverseSwipe expect brightness 0.00 # putting the same figure back resumes rather than restarting place fuchs expect playing true expect track 1 # a different figure always starts from the top place eule expect playlist eule expect track 0 turn 2 expect volume 50 turn -4 expect volume 30 touch left_ear expect mouse EffectStaticConfig release left_ear expect mouse EffectRandomTwoColorInterpolationConfig