Added script front-end for primer-design code
[htsworkflow.git] / htswanalysis / MACS / lib / gsl / gsl-1.11 / test_gsl_histogram.sh
1 #! /bin/sh
2
3 cat > test.exp.1.tmp <<EOF
4 1 2 1
5 2 3 2
6 3 4 0
7 4 5 1
8 EOF
9
10 echo 1 2 2.5 4 | ./gsl-histogram 1 5 4 | tr -d '\r' > test.obs.1.tmp
11
12 cmp test.exp.1.tmp test.obs.1.tmp
13 STATUS=$?
14 rm test.exp.1.tmp test.obs.1.tmp
15
16 exit $STATUS