def test_moving_stochastically_adds_new_state(self): chain = Chain(self.model) chain.move() self.assertEqual(len(chain.states), 1)