MCPcopy Create free account
hub / github.com/PageBot/PageBot / test

Method test

Lib/pagebot/conditions/text.py:29–30  ·  view source on GitHub ↗
(self, e)

Source from the content-addressed store, hash-verified

27 `globals['page']` value. In that case it is better to call the
28 `Element.overflow2Next()` directly at the start of a new chapter."""
29 def test(self, e):
30 return e.isOverflow(self.tolerance)
31
32 def solve(self, e, score):
33 if not self.test(e): # Only try to solve if condition test fails.

Callers 1

solveMethod · 0.95

Calls 1

isOverflowMethod · 0.45

Tested by

no test coverage detected