예제 #1
0
    def test_lib_agw_rulerctrlMethods(self):
        ruler = RC.RulerCtrl(self.frame,
                             -1,
                             orient=wx.VERTICAL,
                             style=wx.STATIC_BORDER)

        # Some methods tests...
        self.assertEqual(ruler.GetFormat(), RC.RealFormat)
예제 #2
0
 def test_lib_agw_rulerctrlCtor(self):
     ruler = RC.RulerCtrl(self.frame,
                          -1,
                          orient=wx.HORIZONTAL,
                          style=wx.SUNKEN_BORDER)