summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/strictlyEquals.qml
blob: 2932c7782619e950a31223cf837de113efacbe5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import QtQuick 1.0

QtObject {
    property bool test1: (a === true)
    property bool test2: !(a === false)
    property bool test3: (b === 11.2)
    property bool test4: !(b === 9)
    property bool test5: (c === 9)
    property bool test6: !(c === 13)
    property bool test7: (d === "Hello world")
    property bool test8: !(d === "Hi")

    property bool a: true
    property real b: 11.2
    property int c: 9
    property string d: "Hello world"
}