def test_unmatched(self): # at ASG assert (tfl_tube.departure_direction_from_platform_name( "Eastbound/Westbound - Platform 2/3") is None)
def test_westbound_no_dash(self): # at WLO assert (tfl_tube.departure_direction_from_platform_name( "Westbound Platform 26") == "Westbound")
def test_eastbound_upper_b(self): # at BDS assert (tfl_tube.departure_direction_from_platform_name( "EastBound - Platform 1") == "Eastbound")
def test_inner(self): # e.g. FLP assert (tfl_tube.departure_direction_from_platform_name( "Inner Rail - Platform 2", ) == "Inner Rail")
def test_outer(self): # e.g. FLP assert (tfl_tube.departure_direction_from_platform_name( "Outer Rail - Platform 1", ) == "Outer Rail")
def test_southbound_fast(self): # e.g. HOH assert (tfl_tube.departure_direction_from_platform_name( "Southbound Fast - Platform 6") == "Southbound")
def test_southbound(self): assert (tfl_tube.departure_direction_from_platform_name( "Southbound - Platform 4") == "Southbound")
def test_northbound(self): assert (tfl_tube.departure_direction_from_platform_name( "Northbound - Platform 1") == "Northbound")