From c80abc2636de98508735e3dc7c1e82ffe82af737 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Fri, 3 Jun 2011 12:56:58 +0000 Subject: [PATCH] added tests for length_vals git-svn-id: http://biopieces.googlecode.com/svn/trunk@1454 74ccb610-7750-0410-82ae-013aeee3265d --- bp_test/in/length_vals.in | 9 +++++++++ bp_test/out/length_vals.out.1 | 15 +++++++++++++++ bp_test/test/test_length_vals | 7 +++++++ 3 files changed, 31 insertions(+) create mode 100644 bp_test/in/length_vals.in create mode 100644 bp_test/out/length_vals.out.1 create mode 100755 bp_test/test/test_length_vals diff --git a/bp_test/in/length_vals.in b/bp_test/in/length_vals.in new file mode 100644 index 0000000..0df90f2 --- /dev/null +++ b/bp_test/in/length_vals.in @@ -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 index 0000000..7a18b6a --- /dev/null +++ b/bp_test/out/length_vals.out.1 @@ -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 index 0000000..ecd038f --- /dev/null +++ b/bp_test/test/test_length_vals @@ -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 -- 2.39.5