early attempt doing qml tests; so far only build main app

This commit is contained in:
Tal Lancaster
2017-01-18 16:25:49 -07:00
parent 558fba07a6
commit bf1b62038a
8 changed files with 289 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
import QtQuick 2.3
import QtTest 1.0
TestCase {
name: "MathTests Test"
function test_math() {
compare(2 + 2, 4, "2 + 2 = 4")
}
function test_fail() {
compare(2 + 2, 5, "2 + 2 = 5")
}
}