Commit 945670a2 authored by Mathieu Giraud's avatar Mathieu Giraud

tests: use string_of_int() to remove a compiler warning

parent 45e4edbd
......@@ -54,7 +54,7 @@ void testRandom() {
string sequence = "AA";
for (int i = 0; i < 10; i++) {
seqs.push_back(create_sequence("seq"+id, "seq"+id, sequence, ""));
seqs.push_back(create_sequence("seq" + string_of_int(id), "seq" + string_of_int(id), sequence, ""));
sequence += "A";
id++;
}
......
......@@ -288,8 +288,8 @@ void testProbability() {
"CTTG", "CTTT"};
Fasta V, J;
for (int i = 0; i < 64; i++) {
Sequence v = {"V_"+(i+33), "V"+(i+33), v_seq[i], "", NULL};
Sequence j = {"J_"+(i+33), "J"+(i+33), j_seq[i], "", NULL};
Sequence v = {"V_" + string_of_int(i+33), "V" + string_of_int(i+33), v_seq[i], "", NULL};
Sequence j = {"J_" + string_of_int(i+33), "J" + string_of_int(i+33), j_seq[i], "", NULL};
V.add(v);
J.add(j);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment