mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-09-05 17:30:26 +02:00
27 lines
541 B
Python
27 lines
541 B
Python
import unittest
|
|
from unittests import wtc
|
|
import wx
|
|
import os
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
class gauge_Tests(wtc.WidgetTestCase):
|
|
|
|
def test_gauge(self):
|
|
g1 = wx.Gauge(self.frame)
|
|
g2 = wx.Gauge(self.frame, range=1000, style=wx.GA_VERTICAL)
|
|
|
|
def test_gaugeProperties(self):
|
|
g = wx.Gauge(self.frame)
|
|
|
|
g.Range
|
|
g.Value
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|