diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativeqt/data/closestangle.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeqt/data/closestangle.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeqt/data/closestangle.qml b/tests/auto/declarative/qdeclarativeqt/data/closestangle.qml new file mode 100644 index 0000000..b5f7fc6 --- /dev/null +++ b/tests/auto/declarative/qdeclarativeqt/data/closestangle.qml @@ -0,0 +1,12 @@ +import Qt 4.6 + +QtObject { + property var testSame: Qt.closestAngle(0,1) + property var testLess: Qt.closestAngle(0,-359) + property var testMore: Qt.closestAngle(0,361) + property var testFail: Qt.closestAngle(0) + property var test5: Qt.closestAngle(0,1,2) + property var test6: Qt.closestAngle(123.45465768,1.11) + property var test7: Qt.closestAngle(-3.1415,1.11) +} + |