#NEWLINE# def test_straight_horizontal( self ) : #NEWLINE# #INDENT# '\n        Test that straight horizontal corridor can be made\n        ' #NEWLINE# edge_connection = Connection ( connection = None , location = ( 10 , 5 ) , direction = 'left' , section = self . section ) #NEWLINE# room_connection = Connection ( connection = None , location = ( 5 , 5 ) , direction = 'right' , section = self . section ) #NEWLINE# add_section_connection ( self . section , edge_connection ) #NEWLINE# add_room_connection ( self . section , ( 5 , 5 ) , 'right' ) #NEWLINE# generator = CorridorGenerator ( start_point = room_connection , end_point = room_connection , wall_tile = None , floor_tile = self . floor_rock ) #NEWLINE# generator . generate ( ) #NEWLINE# for x_loc in range ( 5 , 11 ) : #NEWLINE# #INDENT# assert_that ( floor_tile ( self . level , ( x_loc , 5 ) ) , is_ ( equal_to ( self . floor_rock ) ) )