]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_test/test/test_write_fasta
added tests to find_orfs
[biopieces.git] / bp_test / test / test_write_fasta
index a2f5b0769e6e7d921291c4cdf70582fee397c883..4307e2590cd68261d3c82b0919420bb23fae9b67 100755 (executable)
@@ -2,10 +2,20 @@
 
 source "$BP_DIR/bp_test/lib/test.sh"
 
-run "write_fasta -I $in -o $tmp.1 -x"
-assert_no_diff $tmp.1 $out.1
-rm $tmp.1
+run "$bp -I $in -o $tmp -x"
+assert_no_diff $tmp $out.1
+clean
 
-run "write_fasta -I $in -w 4 -o $tmp.2 -x"
-assert_no_diff $tmp.2 $out.2
-rm $tmp.2
+run "$bp -I $in -w 4 -o $tmp -x"
+assert_no_diff $tmp $out.2
+clean
+
+run "$bp -I $in -w 4 -Z gzip -o $tmp.gz -x"
+gunzip $tmp.gz
+assert_no_diff $tmp $out.3
+clean
+
+run "$bp -I $in -w 4 -Z bzip2 -o $tmp.bz2 -x"
+bunzip2 $tmp.bz2
+assert_no_diff $tmp $out.3
+clean