def test_selfloop(self):
    transitions = self.env_selfloop.transitions(2, 0)
    self.assertEqual(len(transitions), 1)
    self.assertEqual(transitions[2], 1.0)
    transitions = self.env_selfloop.transitions(2, 1)
    self.assertEqual(len(transitions), 2)
def test_selfloop(self):
    transitions = self.env_selfloop.transitions(2, 0)
    self.assertEqual(len(transitions), 1)
    self.assertEqual(transitions[2], 1.0)
    transitions = self.env_selfloop.transitions(2, 1)
    self.assertEqual(len(transitions), 2)