these tests are not a joke.
This commit is contained in:
parent
15f5355013
commit
21b4dfddc9
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ func TestAnnotationSeriesMeasure(t *testing.T) {
|
||||||
|
|
||||||
box := as.Measure(r, cb, xrange, yrange, sd)
|
box := as.Measure(r, cb, xrange, yrange, sd)
|
||||||
assert.False(box.IsZero())
|
assert.False(box.IsZero())
|
||||||
assert.Equal(-3.0, box.Top)
|
assert.Equal(-5.0, box.Top)
|
||||||
assert.Equal(5.0, box.Left)
|
assert.Equal(5.0, box.Left)
|
||||||
assert.Equal(147.0, box.Right) //the top,left annotation sticks up 5px and out ~44px.
|
assert.Equal(147.0, box.Right) //the top,left annotation sticks up 5px and out ~44px.
|
||||||
assert.Equal(115.0, box.Bottom)
|
assert.Equal(115.0, box.Bottom)
|
||||||
|
|
Loading…
Reference in a new issue