]> git.donarmstrong.com Git - biopieces.git/commitdiff
added tests for length_vals
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 3 Jun 2011 12:56:58 +0000 (12:56 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 3 Jun 2011 12:56:58 +0000 (12:56 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1454 74ccb610-7750-0410-82ae-013aeee3265d

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

diff --git a/bp_test/in/length_vals.in b/bp_test/in/length_vals.in
new file mode 100644 (file)
index 0000000..0df90f2
--- /dev/null
@@ -0,0 +1,9 @@
+V0: Human
+V1: 123
+---
+V0: Dog
+V1: 45
+---
+V0: Mouse
+V1: 6
+---
diff --git a/bp_test/out/length_vals.out.1 b/bp_test/out/length_vals.out.1
new file mode 100644 (file)
index 0000000..7a18b6a
--- /dev/null
@@ -0,0 +1,15 @@
+V1_LEN: 3
+V0_LEN: 5
+V0: Human
+V1: 123
+---
+V1_LEN: 2
+V0_LEN: 3
+V0: Dog
+V1: 45
+---
+V1_LEN: 1
+V0_LEN: 5
+V0: Mouse
+V1: 6
+---
diff --git a/bp_test/test/test_length_vals b/bp_test/test/test_length_vals
new file mode 100755 (executable)
index 0000000..ecd038f
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+source "$BP_DIR/bp_test/lib/test.sh"
+
+run "$bp -I $in -k V0,V1 -O $tmp"
+assert_no_diff $tmp $out.1
+clean