From d5d271ce2e7de5aa8c529aaa3014ba9610384c5b Mon Sep 17 00:00:00 2001 From: martinahansen Date: Fri, 6 Aug 2010 10:06:43 +0000 Subject: [PATCH] added test for analyze_gc git-svn-id: http://biopieces.googlecode.com/svn/trunk@1039 74ccb610-7750-0410-82ae-013aeee3265d --- bp_test/in/analyze_gc.in | 6 ++++++ bp_test/out/analyze_gc.out.1 | 9 +++++++++ bp_test/test/test_analyze_gc | 7 +++++++ 3 files changed, 22 insertions(+) create mode 100644 bp_test/in/analyze_gc.in create mode 100644 bp_test/out/analyze_gc.out.1 create mode 100755 bp_test/test/test_analyze_gc diff --git a/bp_test/in/analyze_gc.in b/bp_test/in/analyze_gc.in new file mode 100644 index 0000000..476e95f --- /dev/null +++ b/bp_test/in/analyze_gc.in @@ -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 index 0000000..30b191e --- /dev/null +++ b/bp_test/out/analyze_gc.out.1 @@ -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 index 0000000..4266db8 --- /dev/null +++ b/bp_test/test/test_analyze_gc @@ -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 -- 2.39.2