示例#1
0
 def test_triplot(self):
     h = AdcircMesh(self.nodes, self.elements, self.boundaries)
     h.triplot()
def test_triplot(nodes, elements, boundaries, mocker):
    mesh = AdcircMesh(nodes, elements, boundaries=boundaries)

    mocker.patch('matplotlib.pyplot.show')
    mesh.triplot()