Skip to content

Commit c49c127

Browse files
committed
Merge pull request holman#80 from holman/test-ticks
Test ticks
2 parents 8d3a873 + fe2e8af commit c49c127

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

spark

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# Generates sparklines for a set of data.
77
#
8-
# Here's a a good web-based sparkline generator that was a bit of inspiration
8+
# Here's a good web-based sparkline generator that was a bit of inspiration
99
# for spark:
1010
#
1111
# https://datacollective.org/sparkblocks

spark-test.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,18 @@ it_charts_4_lt_8() {
6161
graph="$($spark $data)"
6262

6363
test $graph = '▁▃█'
64-
6564
}
6665

6766
it_charts_no_tier_0() {
6867
data="1,2,3,4,5"
6968
graph="$($spark $data)"
7069

7170
test $graph = '▁▂▄▆█'
71+
}
72+
73+
it_equalizes_at_midtier_on_same_data() {
74+
data="1,1,1,1"
75+
graph="$($spark $data)"
7276

77+
test $graph = '▅▅▅▅'
7378
}

0 commit comments

Comments
 (0)