diff --git a/unittests/test_dc.py b/unittests/test_dc.py index a86a2413..45b661cf 100644 --- a/unittests/test_dc.py +++ b/unittests/test_dc.py @@ -8,7 +8,7 @@ pngFile = os.path.join(os.path.dirname(__file__), 'toucan.png') #--------------------------------------------------------------------------- -class DCTests(wtc.WidgetTestCase): +class dc_Tests(wtc.WidgetTestCase): def test_ConstantsExist(self): wx.CLEAR @@ -130,6 +130,13 @@ class DCTests(wtc.WidgetTestCase): self.assertTrue(type(values) == list) self.assertTrue(len(values) == 5) + def test_dcPointLists(self): + dc = wx.ClientDC(self.frame) + + dc.DrawLines([wx.Point(5,5), wx.Point(25,5), wx.Point(25,25), wx.Point(25,5), wx.Point(5,5)]) + dc.DrawLines([(15,15), (35,15), (35,35), (35,15), (15,15)]) + + #---------------------------------------------------------------------------