Add missing bbox test
This commit is contained in:
parent
d5129832b9
commit
cff15dd3b9
1 changed files with 6 additions and 0 deletions
|
@ -115,7 +115,13 @@ describe('Utils', function() {
|
|||
u.poly([[0, 0], [1, 0], [1, 0], [1, 1]]).should.deep.equal(expected)
|
||||
// empty in, empty out
|
||||
u.poly([]).should.deep.equal({paths: {}})
|
||||
})
|
||||
|
||||
it('poly', function() {
|
||||
u.bbox([[0, 0], [1, 0], [1, 1]]).should.deep.equal({
|
||||
high: [1, 1],
|
||||
low: [0, 0]
|
||||
})
|
||||
})
|
||||
|
||||
it('combine helpers', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue