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

Method solve

Lib/pagebot/conditions/flow.py:41–43  ·  view source on GitHub ↗
(self, e, score)

Source from the content-addressed store, hash-verified

39 return e.isOverflow(self.tolerance)
40
41 def solve(self, e, score):
42 if not self.test(e): # Only try to solve if condition test fails.
43 self.addScore(e.overflow2Next(), e, score)
44
45class EqualizeFlow2Height(Condition):
46 """Test if all elements in the flow have the same height and/or same

Callers

nothing calls this directly

Calls 3

testMethod · 0.95
addScoreMethod · 0.80
overflow2NextMethod · 0.45

Tested by

no test coverage detected