mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 20:40:11 +01:00
22 lines
428 B
Python
22 lines
428 B
Python
import unittest
|
|
import wx
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
class IdManagerTest(unittest.TestCase):
|
|
|
|
def test_idManager(self):
|
|
id = wx.IdManager.ReserveId(5)
|
|
self.assertTrue(id != wx.ID_NONE)
|
|
|
|
wx.IdManager.UnreserveId(id, 5)
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|