Permalink
Browse files

fix tests that #40 broke

  • Loading branch information...
1 parent edc8cc3 commit 631e282cc440775a5f8cc75220bafad08011a71c @holman committed Nov 16, 2011
Showing with 7 additions and 7 deletions.
  1. +7 −7 spark-test.sh
View
14 spark-test.sh
@@ -7,28 +7,28 @@ spark="./spark"
it_graphs_argv_data() {
graph="$($spark 1,5,22,13,5)"
- test $graph = '▂▇▅▂'
+ test $graph = '▃█▇▃'
}
it_charts_pipe_data() {
data="0,30,55,80,33,150"
graph="$(echo $data | $spark)"
- test $graph = '▁▂▃▄▂▇'
+ test $graph = '▁▂▄▅▂█'
}
it_charts_spaced_data() {
data="0 30 55 80 33 150"
graph="$($spark $data)"
- test $graph = '▁▂▃▄▂▇'
+ test $graph = '▁▂▄▅▂█'
}
it_charts_way_spaced_data() {
data="0 30 55 80 33 150"
graph="$($spark $data)"
- test $graph = '▁▂▃▄▂▇'
+ test $graph = '▁▂▄▅▂█'
}
it_handles_decimals() {
@@ -42,21 +42,21 @@ it_charts_100_lt_300() {
data="1,2,3,4,100,5,10,20,50,300"
graph="$($spark $data)"
- test $graph = '▁▁▁▁▃▁▁▁▂'
+ test $graph = '▁▁▁▁▃▁▁▁▂'
}
it_charts_50_lt_100() {
data="1,50,100"
graph="$($spark $data)"
- test $graph = '▄▇'
+ test $graph = '▅█'
}
it_charts_4_lt_8() {
data="2,4,8"
graph="$($spark $data)"
- test $graph = '▂▄'
+ test $graph = '▂▄'
}

0 comments on commit 631e282

Please sign in to comment.