summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordac <qt-info@nokia.com>2011-02-22 14:43:09 +1000
committerdac <qt-info@nokia.com>2011-02-22 14:43:09 +1000
commitbcf0d8a92b9f1859f949e670d383ba096e860545 (patch)
treed45bea1fe335d41fc198fb85089c0df470028fd0
parent5c4f4ef376bfdbfe30654096ac3067a4565b74ee (diff)
Syntax errors in sys_calculator.qtt
-rw-r--r--Qt/demos/declarative/calculator/sys_calculator/sys_calculator.qtt36
1 files changed, 18 insertions, 18 deletions
diff --git a/Qt/demos/declarative/calculator/sys_calculator/sys_calculator.qtt b/Qt/demos/declarative/calculator/sys_calculator/sys_calculator.qtt
index b60c81b..17fb7e1 100644
--- a/Qt/demos/declarative/calculator/sys_calculator/sys_calculator.qtt
+++ b/Qt/demos/declarative/calculator/sys_calculator/sys_calculator.qtt
@@ -58,18 +58,18 @@ testcase = {
},
binary_operations_data: {
- "operation1": ["0", add, "0", "0"],
- "operation2": ["0", sub, "0", "0"],
- "operation3": ["0", mul, "0", "0"],
- "operation4": ["0", div, "0", "NaN"],
- "operation5": ["0", add, "1", "1"],
- "operation6": ["0", sub, "1", "-1"],
- "operation7": ["0", mul, "1", "0"],
- "operation8": ["0", div, "1", "0"],
- "operation9": ["0.56789", add, "7453.0145", "7453.58239"],
- "operation10": ["0.56789", sub, "7453.0145", "-7452.44661"],
- "operation11": ["0.56789", mul, "7453.0145", "4232.492404405"],
- "operation12": ["0.56789", div, "7453.0145", "0.00007619601437780645"]
+ operation1: ["0", add, "0", "0"],
+ operation2: ["0", sub, "0", "0"],
+ operation3: ["0", mul, "0", "0"],
+ operation4: ["0", div, "0", "NaN"],
+ operation5: ["0", add, "1", "1"],
+ operation6: ["0", sub, "1", "-1"],
+ operation7: ["0", mul, "1", "0"],
+ operation8: ["0", div, "1", "0"],
+ operation9: ["0.56789", add, "7453.0145", "7453.58239"],
+ operation10: ["0.56789", sub, "7453.0145", "-7452.44661"],
+ operation11: ["0.56789", mul, "7453.0145", "4232.492404405"],
+ operation12: ["0.56789", div, "7453.0145", "0.00007619601437780645"]
},
binary_operations: function(FirstOperand, Operator, SecondOperand, ExpectedResult)
@@ -87,12 +87,12 @@ testcase = {
},
advanced_mode_data: {
- "operation1": ["-123", "Abs", "123"],
- "operation2": ["3.14159", "Int", "3"],
- "operation3": ["65536", "Sqrt", "256"],
- "operation4": ["123", "^2", "15129"],
- "operation5": ["500", "1/x", "0.002"],
- "operation6": ["999", "+/-", "-999"]
+ operation1: ["-123", "Abs", "123"],
+ operation2: ["3.14159", "Int", "3"],
+ operation3: ["65536", "Sqrt", "256"],
+ operation4: ["123", "^2", "15129"],
+ operation5: ["500", "1/x", "0.002"],
+ operation6: ["999", "+/-", "-999"]
},
advanced_mode: function(Operand, Operator, ExpectedResult)