Skip to content

Commit

Permalink
FF-2465 FF-2465 make orderPosition 1-indexed to match UI (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
greghuels authored Jun 27, 2024
1 parent bdd0e3b commit a9615d6
Show file tree
Hide file tree
Showing 13 changed files with 395 additions and 395 deletions.
160 changes: 80 additions & 80 deletions ufc/tests/test-case-boolean-one-of-matches.json

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions ufc/tests/test-case-comparator-operator-flag.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@
"matchedAllocation": {
"key": "small-size",
"allocationEvaluationCode": "MATCH",
"orderPosition": 0
"orderPosition": 1
},
"unmatchedAllocations": [],
"unevaluatedAllocations": [
{
"key": "medum-size",
"allocationEvaluationCode": "UNEVALUATED",
"orderPosition": 1
"orderPosition": 2
},
{
"key": "large-size",
"allocationEvaluationCode": "UNEVALUATED",
"orderPosition": 2
"orderPosition": 3
}
]
}
Expand Down Expand Up @@ -75,20 +75,20 @@
"matchedAllocation": {
"key": "medum-size",
"allocationEvaluationCode": "MATCH",
"orderPosition": 1
"orderPosition": 2
},
"unmatchedAllocations": [
{
"key": "small-size",
"allocationEvaluationCode": "FAILING_RULE",
"orderPosition": 0
"orderPosition": 1
}
],
"unevaluatedAllocations": [
{
"key": "large-size",
"allocationEvaluationCode": "UNEVALUATED",
"orderPosition": 2
"orderPosition": 3
}
]
}
Expand All @@ -111,17 +111,17 @@
{
"key": "small-size",
"allocationEvaluationCode": "FAILING_RULE",
"orderPosition": 0
"orderPosition": 1
},
{
"key": "medum-size",
"allocationEvaluationCode": "FAILING_RULE",
"orderPosition": 1
"orderPosition": 2
},
{
"key": "large-size",
"allocationEvaluationCode": "FAILING_RULE",
"orderPosition": 2
"orderPosition": 3
}
],
"unevaluatedAllocations": []
Expand Down Expand Up @@ -151,18 +151,18 @@
"matchedAllocation": {
"key": "large-size",
"allocationEvaluationCode": "MATCH",
"orderPosition": 2
"orderPosition": 3
},
"unmatchedAllocations": [
{
"key": "small-size",
"allocationEvaluationCode": "FAILING_RULE",
"orderPosition": 0
"orderPosition": 1
},
{
"key": "medum-size",
"allocationEvaluationCode": "FAILING_RULE",
"orderPosition": 1
"orderPosition": 2
}
],
"unevaluatedAllocations": []
Expand All @@ -186,17 +186,17 @@
{
"key": "small-size",
"allocationEvaluationCode": "FAILING_RULE",
"orderPosition": 0
"orderPosition": 1
},
{
"key": "medum-size",
"allocationEvaluationCode": "FAILING_RULE",
"orderPosition": 1
"orderPosition": 2
},
{
"key": "large-size",
"allocationEvaluationCode": "FAILING_RULE",
"orderPosition": 2
"orderPosition": 3
}
],
"unevaluatedAllocations": []
Expand Down
Loading

0 comments on commit a9615d6

Please sign in to comment.