def test_num_transitions(self):
    transitions = self.env.transitions(0, 0)
    self.assertEqual(len(transitions), 2)
    for ns in transitions:
        self.assertAlmostEqual(transitions[ns], 0.5)
def test_num_transitions(self):
    transitions = self.env.transitions(0, 0)
    self.assertEqual(len(transitions), 2)
    for ns in transitions:
        self.assertAlmostEqual(transitions[ns], 0.5)