def testLTNegative(self):
    'CommonTokenStream.LT(-1): look back'
    self.source.tokens.append(antlr3.CommonToken(type=12))
    self.source.tokens.append(antlr3.CommonToken(type=13))
    stream = antlr3.CommonTokenStream(self.source)
    stream.fillBuffer()
    stream.consume()
    lt1 = stream.LT((- 1))
    self.failUnlessEqual(lt1.type, 12)
CommonTokenStream.LT(-1): look back
def testLTNegative(self):
    
    self.source.tokens.append(antlr3.CommonToken(type=12))
    self.source.tokens.append(antlr3.CommonToken(type=13))
    stream = antlr3.CommonTokenStream(self.source)
    stream.fillBuffer()
    stream.consume()
    lt1 = stream.LT((- 1))
    self.failUnlessEqual(lt1.type, 12)