 
   expect(containingTags).toEqual([])
 
-verifyPositionTranslations = (random, displayLayer) ->
+verifyPositionTranslations = (displayLayer) ->
   lineScreenStart = Point.ZERO
   lineBufferStart = Point.ZERO
 
-  rowCount = getRandomScreenRowCount(random, displayLayer)
+  rowCount = getComputedScreenLineCount(displayLayer)
   for screenLine in displayLayer.buildSpatialScreenLines(0, Infinity, rowCount)
     tokenScreenStart = lineScreenStart
     tokenBufferStart = lineBufferStart

    lineBufferStart = traverse(lineBufferStart, screenLine.bufferExtent)
    lineScreenStart = traverse(lineScreenStart, Point(1, 0))

verifyRightmostScreenPosition = (random, displayLayer) ->
  screenLines = displayLayer.getText().split('\n')

  maxLineLength = -1

  s += '])'
  console.log s

hasComputedAllScreenRows = (displayLayer) ->
  displayLayer.indexedBufferRowCount is displayLayer.buffer.getLineCount()

getComputedScreenLineCount = (displayLayer) ->
  displayLayer.displayIndex.getScreenLineCount() - 1
