]> git.donarmstrong.com Git - biopieces.git/commitdiff
added test for analyze_gc
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 6 Aug 2010 10:06:43 +0000 (10:06 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 6 Aug 2010 10:06:43 +0000 (10:06 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1039 74ccb610-7750-0410-82ae-013aeee3265d

bp_test/in/analyze_gc.in [new file with mode: 0644]
bp_test/out/analyze_gc.out.1 [new file with mode: 0644]
bp_test/test/test_analyze_gc [new file with mode: 0755]

diff --git a/bp_test/in/analyze_gc.in b/bp_test/in/analyze_gc.in
new file mode 100644 (file)
index 0000000..476e95f
--- /dev/null
@@ -0,0 +1,6 @@
+SEQ: AAAA
+---
+SEQ: GGGG
+---
+SEQ: TTCC
+---
diff --git a/bp_test/out/analyze_gc.out.1 b/bp_test/out/analyze_gc.out.1
new file mode 100644 (file)
index 0000000..30b191e
--- /dev/null
@@ -0,0 +1,9 @@
+SEQ: AAAA
+GC%: 0.00
+---
+SEQ: GGGG
+GC%: 100.00
+---
+SEQ: TTCC
+GC%: 50.00
+---
diff --git a/bp_test/test/test_analyze_gc b/bp_test/test/test_analyze_gc
new file mode 100755 (executable)
index 0000000..4266db8
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+source "$BP_DIR/bp_test/lib/test.sh"
+
+run "$bp -I $in -O $tmp"
+assert_no_diff $tmp $out.1
+rm $tmp