(sname, sbox)
| 853 | return False |
| 854 | |
| 855 | def touching_bottom(sname, sbox): |
| 856 | b = bottom(sbox) |
| 857 | if abs(b - sec_bottom) < 1e-9: |
| 858 | return True |
| 859 | for oname, obox in expanded_subs.items(): |
| 860 | if oname == sname: |
| 861 | continue |
| 862 | if abs(obox["top"] - b) < 1e-9: |
| 863 | return True |
| 864 | return False |
| 865 | |
| 866 | # Attempt a single pass of expansions, left->right->top->bottom |
| 867 | for name in expanded_subs: |
no test coverage detected