fixing test.
This commit is contained in:
parent
04475f35f8
commit
01983f4e86
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ func TestAnnotationSeriesMeasure(t *testing.T) {
|
||||||
assert.False(box.IsZero())
|
assert.False(box.IsZero())
|
||||||
assert.Equal(-5.0, box.Top)
|
assert.Equal(-5.0, box.Top)
|
||||||
assert.Equal(5.0, box.Left)
|
assert.Equal(5.0, box.Left)
|
||||||
assert.Equal(145.0, box.Right) //the top,left annotation sticks up 5px and out ~44px.
|
assert.Equal(146.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