-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Better test coverage for SymbolEquals filter
- Loading branch information
Showing
32 changed files
with
530 additions
and
20 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 3 | ||
"count": 6 | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolA.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"testCaseName": "Test sequence has symbol A at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "A", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 2 | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolC.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"testCaseName": "Test sequence has symbol C at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "C", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 91 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolExactA.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"testCaseName": "Test sequence has exactly symbol A at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "Exact", | ||
"child": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "A", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 2 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolExactC.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"testCaseName": "Test sequence has exactly symbol C at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "Exact", | ||
"child": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "C", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 91 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolExactG.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"testCaseName": "Test sequence has exactly symbol G at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "Exact", | ||
"child": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "G", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 0 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolExactGAP.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"testCaseName": "Test sequence has exactly symbol GAP at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "Exact", | ||
"child": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "-", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 1 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolExactN.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"testCaseName": "Test sequence has exactly symbol N at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "Exact", | ||
"child": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "N", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 2 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolExactR.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"testCaseName": "Test sequence has exactly symbol R at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "Exact", | ||
"child": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "R", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 2 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolExactT.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"testCaseName": "Test sequence has exactly symbol T at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "Exact", | ||
"child": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "T", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 1 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolExactY.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"testCaseName": "Test sequence has exactly symbol Y at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "Exact", | ||
"child": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "Y", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 1 | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolG.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"testCaseName": "Test sequence has symbol G at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "G", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 0 | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolGAP.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"testCaseName": "Test sequence has symbol GAP at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "-", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 1 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolMaybeA.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"testCaseName": "Test sequence has maybe symbol A at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "Maybe", | ||
"child": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "A", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 6 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolMaybeC.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"testCaseName": "Test sequence has maybe symbol C at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "Maybe", | ||
"child": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "C", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 94 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
endToEndTests/test/queries/symbolEquals/testSeqPos2SymbolMaybeG.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"testCaseName": "Test sequence has maybe symbol G at position 2", | ||
"query": { | ||
"action": { | ||
"type": "Aggregated" | ||
}, | ||
"filterExpression": { | ||
"type": "Maybe", | ||
"child": { | ||
"type": "NucleotideEquals", | ||
"position": 2, | ||
"symbol": "G", | ||
"sequenceName": "testSecondSequence" | ||
} | ||
} | ||
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 4 | ||
} | ||
] | ||
} |
Oops, something went wrong.