aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/unit_test/mixed_atp/tests/auto/quickauto2/tst_test1.qml
blob: 9da52a0b9bc7fbebe0f6c17e2124552c3fccc0b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
import QtQuick 2.0
import QtTest 1.0

TestCase {
    name: "Banana"

    function test_math() {
        compare(5 + 5, 10, "verifying 5 + 5 = 10");
        compare(10 - 5, 5, "verifying 10 - 5 = 5");
    }

    function test_fail() {
        verify(false, "verifying false");
    }
}