Skip to content

Commit

Permalink
fixed test files
Browse files Browse the repository at this point in the history
  • Loading branch information
gf777 committed Jun 19, 2024
1 parent d8bef78 commit 2fc6c07
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/generate-tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ int main(void) {
}
// test subgraph
file_args = {
{{"-d testFiles/test1.kreeq -f testFiles/random1.fasta --search-depth 0"}, {""}},
{{"-d testFiles/random5.kreeq -f testFiles/random5.fasta"}, {""}}
{{"-d testFiles/test1.kreeq -f testFiles/random1.fasta --search-depth 0 --do-not-collapse-nodes"}, {""}},
{{"-d testFiles/random5.kreeq -f testFiles/random5.fasta --do-not-collapse-nodes"}, {""}}
// {{set of test inputs}, {list of command line args to run with}}
};
for(const auto &pair : file_args) {
Expand Down
8 changes: 7 additions & 1 deletion validateFiles/test.36.tst
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
kreeq subgraph -d testFiles/random5.kreeq -f testFiles/random5.fasta
kreeq subgraph -d testFiles/random5.kreeq -f testFiles/random5.fasta --do-not-collapse-nodes
embedded
Subgraph summary statistics:
Total kmers: 158
Unique kmers: 84
Distinct kmers: 121
Missing kmers: 4398046510983
Total edges: 203
+++Assembly summary+++:
# scaffolds: 0
Total scaffold length: 0
Expand Down
8 changes: 7 additions & 1 deletion validateFiles/test.37.tst
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
kreeq subgraph -d testFiles/test1.kreeq -f testFiles/random1.fasta --search-depth 0
kreeq subgraph -d testFiles/test1.kreeq -f testFiles/random1.fasta --search-depth 0 --do-not-collapse-nodes
embedded
Subgraph summary statistics:
Total kmers: 979
Unique kmers: 13
Distinct kmers: 94
Missing kmers: 4398046511010
Total edges: 158
+++Assembly summary+++:
# scaffolds: 0
Total scaffold length: 0
Expand Down

0 comments on commit 2fc6c07

Please sign in to comment.