Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
vidjil
vidjil
Commits
e58c4b0e
Commit
e58c4b0e
authored
Nov 05, 2014
by
Mikaël Salson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: Add tests on Fasta
parent
b188d4bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
algo/tests/testTools.cpp
algo/tests/testTools.cpp
+4
-0
No files found.
algo/tests/testTools.cpp
View file @
e58c4b0e
...
@@ -35,6 +35,10 @@ void testFasta1() {
...
@@ -35,6 +35,10 @@ void testFasta1() {
TAP_TEST
(
fa
.
label_full
(
i
)
==
fq
.
label_full
(
i
),
TEST_FASTA_LABEL_FULL
,
""
);
TAP_TEST
(
fa
.
label_full
(
i
)
==
fq
.
label_full
(
i
),
TEST_FASTA_LABEL_FULL
,
""
);
TAP_TEST
(
fa
.
sequence
(
i
)
==
fq
.
sequence
(
i
),
TEST_FASTA_SEQUENCE
,
""
);
TAP_TEST
(
fa
.
sequence
(
i
)
==
fq
.
sequence
(
i
),
TEST_FASTA_SEQUENCE
,
""
);
}
}
TAP_TEST
(
fa
.
label
(
2
)
==
"seq3"
,
TEST_FASTA_LABEL
,
""
);
TAP_TEST
(
fa
.
sequence
(
2
)
==
"A"
,
TEST_FASTA_SEQUENCE
,
""
);
TAP_TEST
(
fa
.
label
(
4
)
==
""
,
TEST_FASTA_LABEL
,
""
);
TAP_TEST
(
fa
.
sequence
(
4
)
==
"AATN"
,
TEST_FASTA_SEQUENCE
,
""
);
}
}
void
testFastaAdd
()
{
void
testFastaAdd
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment