#NEWLINE# def check_tiles( self , source_dir ) : #NEWLINE# #INDENT# 'Check the tiles recorded in the collection against expectations.' #NEWLINE# output_tiles = self . collection . tiles #NEWLINE# expected_tiles = self . generate_tiles ( source_dir ) #NEWLINE# self . assertEqual ( set ( output_tiles ) , set ( expected_tiles ) )