diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qtcore/qpoint_test.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/qtcore/qpoint_test.py b/tests/qtcore/qpoint_test.py new file mode 100644 index 000000000..dfce76939 --- /dev/null +++ b/tests/qtcore/qpoint_test.py @@ -0,0 +1,21 @@ + +'''Test cases for QPoint and QPointF''' + +import unittest + +from PySide.QtCore import QPoint, QPointF + + +class QPointTest(unittest.TestCase): + + def testQPointCtor(self): + point = QPoint(QPoint(10,20)) + +class QPointFTest(unittest.TestCase): + + def testQPointFCtor(self): + pointf = QPointF(QPoint(10,20)) + +if __name__ == '__main__': + unittest.main() + |