these tests are not a joke

This commit is contained in:
Will Charczuk 2017-02-22 17:48:32 -08:00
parent 8b967158fd
commit 5bcde786bf

View file

@ -55,7 +55,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(147.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)
} }