]>
Raphaƫl G. Git Repositories - carabistouilles/blob - cunittest
3 TEST
=`./analyse sirens_0_0.txt`;
5 if [ "$RET" != "0" -o "$TEST" != "Unique: 0, duplicate: 0" ]; then
6 echo "./analyse sirens_0_0.txt test failed";
10 TEST
=`./analyse sirens_0_1.txt`;
12 if [ "$RET" != "0" -o "$TEST" != "Unique: 0, duplicate: 1" ]; then
13 echo "./analyse sirens_0_1.txt test failed";
17 TEST
=`./analyse sirens_0_2.txt`;
19 if [ "$RET" != "0" -o "$TEST" != "Unique: 0, duplicates: 2" ]; then
20 echo "./analyse sirens_0_2.txt test failed";
24 TEST
=`./analyse sirens_0_3.txt`;
26 if [ "$RET" != "0" -o "$TEST" != "Unique: 0, duplicates: 3" ]; then
27 echo "./analyse sirens_0_3.txt test failed";
31 TEST
=`./analyse sirens_1_0.txt`;
33 if [ "$RET" != "0" -o "$TEST" != "Unique: 1, duplicate: 0" ]; then
34 echo "./analyse sirens_1_0.txt test failed";
38 TEST
=`./analyse sirens_1_1.txt`;
40 if [ "$RET" != "0" -o "$TEST" != "Unique: 1, duplicate: 1" ]; then
41 echo "./analyse sirens_1_1.txt test failed";
45 TEST
=`./analyse sirens_1_2.txt`;
47 if [ "$RET" != "0" -o "$TEST" != "Unique: 1, duplicates: 2" ]; then
48 echo "./analyse sirens_1_2.txt test failed";
52 TEST
=`./analyse sirens_1_3.txt`;
54 if [ "$RET" != "0" -o "$TEST" != "Unique: 1, duplicates: 3" ]; then
55 echo "./analyse sirens_1_3.txt test failed";
59 TEST
=`./analyse sirens_2_0.txt`;
61 if [ "$RET" != "0" -o "$TEST" != "Uniques: 2, duplicate: 0" ]; then
62 echo "./analyse sirens_2_0.txt test failed";
66 TEST
=`./analyse sirens_2_1.txt`;
68 if [ "$RET" != "0" -o "$TEST" != "Uniques: 2, duplicate: 1" ]; then
69 echo "./analyse sirens_2_1.txt test failed";
73 TEST
=`./analyse sirens_2_2.txt`;
75 if [ "$RET" != "0" -o "$TEST" != "Uniques: 2, duplicates: 2" ]; then
76 echo "./analyse sirens_2_2.txt test failed";
80 TEST
=`./analyse sirens_2_3.txt`;
82 if [ "$RET" != "0" -o "$TEST" != "Uniques: 2, duplicates: 3" ]; then
83 echo "./analyse sirens_2_3.txt test failed";
87 TEST
=`./analyse sirens_3_0.txt`;
89 if [ "$RET" != "0" -o "$TEST" != "Uniques: 3, duplicate: 0" ]; then
90 echo "./analyse sirens_3_0.txt test failed";
94 TEST
=`./analyse sirens_3_1.txt`;
96 if [ "$RET" != "0" -o "$TEST" != "Uniques: 3, duplicate: 1" ]; then
97 echo "./analyse sirens_3_1.txt test failed";
101 TEST
=`./analyse sirens_3_2.txt`;
103 if [ "$RET" != "0" -o "$TEST" != "Uniques: 3, duplicates: 2" ]; then
104 echo "./analyse sirens_3_2.txt test failed";
108 TEST
=`./analyse sirens_3_3.txt`;
110 if [ "$RET" != "0" -o "$TEST" != "Uniques: 3, duplicates: 3" ]; then
111 echo "./analyse sirens_3_3.txt test failed";
115 TEST
=`./analyse sirens_fxt.txt`;
117 if [ "$RET" != "0" -o "$TEST" != "Uniques: 77445, duplicates: 2256" ]; then
118 echo "./analyse sirens_fxt.txt test failed";
122 echo "All test passed successfully"