def test_walk_back(self):
        s = Egress("longstreet", 10)
        
        before = s.walk_back(State(0,100),WalkOptions())
        self.assertEqual( before.time , 100 - (9) )
        self.assertEqual( before.weight , 9 )
        self.assertEqual( before.dist_walked , 10.0 )
        self.assertEqual( before.prev_edge.type , 12 )
        self.assertEqual( before.prev_edge.name , "longstreet" )
        self.assertEqual( before.num_agencies , 0 )
dataset/ETHPy150Open bmander/graphserver/pygs/test/unit_test/test_egress.py/TestEgress.test_walk_back/original