Commit 11b0683c authored by Yumin Yuan's avatar Yumin Yuan

Made discrete split edge test to validate against a baseline image

parent bfdad69a
......@@ -100,11 +100,14 @@ class TestDiscreteSplitEdge(smtk.testing.TestCase):
ac = self.renderer.GetActors()
ac.InitTraversal()
act = ac.GetNextActor()
act.GetProperty().SetLineWidth(5)
act.GetProperty().SetLineWidth(2)
act.GetProperty().SetPointSize(8)
act.GetMapper().SetResolveCoincidentTopologyToPolygonOffset()
cam = self.renderer.GetActiveCamera()
self.renderer.ResetCamera()
self.renderWindow.Render()
self.assertImageMatchIfFileExists(['baselines', 'discrete', 'edge-split-test2D.png'])
self.assertImageMatch(['baselines', 'discrete', 'edge-split-test2D.png'])
self.interact()
def setUp(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment