#NEWLINE# def testCanScanDigits( self ) : #NEWLINE# #INDENT# scanner = Scanner ( '100' ) #NEWLINE# tokens = list ( scanner . scan ( ) ) #NEWLINE# self . assertEqual ( [ TokenDigits ( '100' ) , TokenEof ( ) ] , self )