# Test

1. Initalize all $Q_{s,a}$ to zero
2. For every state s and every action a in this state, perform update: $Q_{s,a} \leftarrow \sum\nolimits_{s'} p_{a,s\rightarrow s^\prime}(r_{s,a} + \gamma \max\nolimits_{a^\prime}Q_{s^\prime,a^\prime)}$
3. Repeat step 2