diff options
author | 2023-05-01 02:07:23 +0200 | |
---|---|---|
committer | 2023-05-01 02:42:34 +0200 | |
commit | 4e698774925468062974b990143c1091e23ed63b (patch) | |
tree | 21f2fc38b6b3b5f3be6ecbdee100d385a2e92c05 /subprojects/store-query/src/testFixtures | |
parent | fix(web): editor cursor styling (diff) | |
download | refinery-4e698774925468062974b990143c1091e23ed63b.tar.gz refinery-4e698774925468062974b990143c1091e23ed63b.tar.zst refinery-4e698774925468062974b990143c1091e23ed63b.zip |
feat: query parameter binding validation
* Introduce parameter directions for constraints and DNF
* Introduce variable directions for literals
* Infer and check variable directions in DNF and topologically sort literals by
their input variables
Diffstat (limited to 'subprojects/store-query/src/testFixtures')
-rw-r--r-- | subprojects/store-query/src/testFixtures/java/tools/refinery/store/query/tests/MismatchDescribingDnfEqualityChecker.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/store-query/src/testFixtures/java/tools/refinery/store/query/tests/MismatchDescribingDnfEqualityChecker.java b/subprojects/store-query/src/testFixtures/java/tools/refinery/store/query/tests/MismatchDescribingDnfEqualityChecker.java index 526832c4..a5b7f85a 100644 --- a/subprojects/store-query/src/testFixtures/java/tools/refinery/store/query/tests/MismatchDescribingDnfEqualityChecker.java +++ b/subprojects/store-query/src/testFixtures/java/tools/refinery/store/query/tests/MismatchDescribingDnfEqualityChecker.java | |||
@@ -35,11 +35,11 @@ class MismatchDescribingDnfEqualityChecker extends DeepDnfEqualityChecker { | |||
35 | var inProgress = getInProgress(); | 35 | var inProgress = getInProgress(); |
36 | int size = inProgress.size(); | 36 | int size = inProgress.size(); |
37 | if (size <= 1) { | 37 | if (size <= 1) { |
38 | description.appendText("was ").appendText(pair.left().toDefinitionString()); | 38 | description.appendText("was ").appendText(pair.right().toDefinitionString()); |
39 | return; | 39 | return; |
40 | } | 40 | } |
41 | var last = inProgress.get(size - 1); | 41 | var last = inProgress.get(size - 1); |
42 | description.appendText("expected ").appendText(last.right().toDefinitionString()); | 42 | description.appendText("expected ").appendText(last.left().toDefinitionString()); |
43 | for (int i = size - 2; i >= 0; i--) { | 43 | for (int i = size - 2; i >= 0; i--) { |
44 | description.appendText(" called from ").appendText(inProgress.get(i).left().toString()); | 44 | description.appendText(" called from ").appendText(inProgress.get(i).left().toString()); |
45 | } | 45 | } |