(self)
| 538 | |
| 539 | |
| 540 | def test_7(self): |
| 541 | |
| 542 | # instantiate and register the library |
| 543 | tl = PCellTestLib() |
| 544 | |
| 545 | ly = pya.Layout(True) |
| 546 | ly.dbu = 0.01 |
| 547 | |
| 548 | param = { "w": 4.0, "h": 8.0, "l": pya.LayerInfo(4, 0) } |
| 549 | cell = ly.create_cell("Box", "PCellTestLib", param) |
| 550 | |
| 551 | self.assertEqual(ly.begin_shapes(cell, ly.layer(4, 0)).shape().__str__(), "box (-200,-400;200,400)") |
| 552 | |
| 553 | def test_8(self): |
| 554 |
nothing calls this directly
no test coverage detected