(c *smatContext)
| 484 | } |
| 485 | |
| 486 | func smatIsEmpty(c *smatContext) { |
| 487 | c.withPair(c.x, func(px *smatPair) { |
| 488 | c0 := px.bm.IsEmpty() |
| 489 | c1 := px.bs.None() |
| 490 | if c0 != c1 { |
| 491 | panic("expected same is empty") |
| 492 | } |
| 493 | }) |
| 494 | } |
| 495 | |
| 496 | func smatIntersects(c *smatContext) { |
| 497 | c.withPair(c.x, func(px *smatPair) { |