Lines Matching refs:assert
20 assert(!path.empty() && "Can't replace missing root"); in replaceRoot()
49 assert(Level != 0 && "Cannot move the root node"); in moveLeft()
56 assert(l != 0 && "Cannot move beyond begin()"); in moveLeft()
99 assert(Level != 0 && "Cannot move the root node"); in moveRight()
123 assert(Elements + Grow <= Nodes * Capacity && "Not enough room for elements"); in distribute()
124 assert(Position <= Elements && "Invalid position"); in distribute()
138 assert(Sum == Elements + Grow && "Bad distribution sum"); in distribute()
142 assert(PosPair.first < Nodes && "Bad algebra"); in distribute()
143 assert(NewSize[PosPair.first] && "Too few elements to need Grow"); in distribute()
150 assert(NewSize[n] <= Capacity && "Overallocated node"); in distribute()
153 assert(Sum == Elements && "Bad distribution sum"); in distribute()