[aravis] tests: test case for 'remaining operands' issue (#681048)
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] tests: test case for 'remaining operands' issue (#681048)
- Date: Tue, 7 Aug 2012 08:03:22 +0000 (UTC)
commit 12e9fe6d2e510b76eeb844d54300bb5d4e0dff04
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Tue Aug 7 10:01:12 2012 +0200
tests: test case for 'remaining operands' issue (#681048)
https://bugzilla.gnome.org/show_bug.cgi?id=681048
tests/evaluator.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tests/evaluator.c b/tests/evaluator.c
index ae3167c..8f77ce3 100644
--- a/tests/evaluator.c
+++ b/tests/evaluator.c
@@ -50,7 +50,9 @@ static const ExpressionTestData expression_test_data[] = {
{"/evaluator/left-shift", "1<<4", 16, 16.0},
{"/evaluator/right-shift", "16>>4", 1, 1.0},
{"/evaluator/cos", "COS(PI)", -1, -1.0},
- {"/evaluator/sin", "SIN(-PI/2)", -1, -1.0}
+ {"/evaluator/sin", "SIN(-PI/2)", -1, -1.0},
+
+ {"/evaluator/bugs/remaining-op", "(0 & 1)=0?((0 & 1)+2):1", 2, 2.0}
};
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]