def METHOD_NAME(self):
    app.player.song = AudioFile(
        {"album": "foo", "~filename": fsnative("/dev/null")})
    self._send("rating +")
    self.assertAlmostEqual(app.player.song['~#rating'], 0.75)
    self._send("rating 0.4")
    self.assertAlmostEqual(app.player.song['~#rating'], 0.4)
    self._send("rating +0.01")
    self.assertAlmostEqual(app.player.song['~#rating'], 0.41)
    self._send("rating -10")
    self.assertEquals(app.player.song['~#rating'], 0)