aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore/qpoint_test.py
blob: dfce76939b4886157544c5e364899e651960b756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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()