From 9de2698b678d7abcfd899f08fd78a56e04a1e308 Mon Sep 17 00:00:00 2001
From: martinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Date: Tue, 17 Aug 2010 14:03:22 +0000
Subject: [PATCH] updating test_read_fasta

git-svn-id: http://biopieces.googlecode.com/svn/trunk@1064 74ccb610-7750-0410-82ae-013aeee3265d
---
 bp_test/in/read_fasta.in.gz  | Bin 0 -> 45 bytes
 bp_test/out/read_fasta.out.1 |   4 ++--
 bp_test/out/read_fasta.out.2 |   2 +-
 bp_test/test/test_read_fasta |   4 ++++
 4 files changed, 7 insertions(+), 3 deletions(-)
 create mode 100644 bp_test/in/read_fasta.in.gz

diff --git a/bp_test/in/read_fasta.in.gz b/bp_test/in/read_fasta.in.gz
new file mode 100644
index 0000000000000000000000000000000000000000..80c32ee8ed79e79ae7be892bddf088be5215d5c9
GIT binary patch
literal 45
zcmb2|=HR$ICCi6_IW0e*VY9ZUuAbqOBA&vs=bM-}_U;h!o^*L9!>^}LLM0d&7yx%#
B5m*2K

literal 0
HcmV?d00001

diff --git a/bp_test/out/read_fasta.out.1 b/bp_test/out/read_fasta.out.1
index 845ac01..3337423 100644
--- a/bp_test/out/read_fasta.out.1
+++ b/bp_test/out/read_fasta.out.1
@@ -1,8 +1,8 @@
+SEQ_NAME: test1
 SEQ: ATCG
 SEQ_LEN: 4
-SEQ_NAME: test1
 ---
+SEQ_NAME: test2
 SEQ: atcg
 SEQ_LEN: 4
-SEQ_NAME: test2
 ---
diff --git a/bp_test/out/read_fasta.out.2 b/bp_test/out/read_fasta.out.2
index 79b3251..5246b42 100644
--- a/bp_test/out/read_fasta.out.2
+++ b/bp_test/out/read_fasta.out.2
@@ -1,4 +1,4 @@
+SEQ_NAME: test1
 SEQ: ATCG
 SEQ_LEN: 4
-SEQ_NAME: test1
 ---
diff --git a/bp_test/test/test_read_fasta b/bp_test/test/test_read_fasta
index bff0470..82b220c 100755
--- a/bp_test/test/test_read_fasta
+++ b/bp_test/test/test_read_fasta
@@ -6,6 +6,10 @@ run "$bp -i $in -O $tmp"
 assert_no_diff $tmp $out.1
 clean
 
+run "$bp -i $in.gz -O $tmp"
+assert_no_diff $tmp $out.1
+clean
+
 run "$bp -i $in -n 1 -O $tmp"
 assert_no_diff $tmp $out.2
 clean
-- 
2.39.5