示例#1
0
 def test_create_ref_place(self, parent):
     pnml = PnmlFactory.create_pnml(PnmlReferencePlace.TAG, parent)
     assert isinstance(pnml, PnmlReferencePlace)
示例#2
0
 def test_create_arc(self, parent):
     pnml = PnmlFactory.create_pnml(PnmlArc.TAG, parent)
     assert isinstance(pnml, PnmlArc)
示例#3
0
 def test_create_page(self, parent):
     pnml = PnmlFactory.create_pnml(PnmlPage.TAG, parent)
     assert isinstance(pnml, PnmlPage)
示例#4
0
 def test_create_net(self, parent):
     pnml = PnmlFactory.create_pnml(PnmlNet.TAG, parent)
     assert isinstance(pnml, PnmlNet)