1 | describe('Region equal', function(){
|
2 |
|
3 | var Region = require('../index')
|
4 |
|
5 | it('size should return fine', function(){
|
6 | var r = Region({
|
7 | top: 10,
|
8 | left: 10,
|
9 | width: 10,
|
10 | height: 10
|
11 | })
|
12 |
|
13 | r.equalsSize({
|
14 | width: 10,
|
15 | height: 10
|
16 | })
|
17 | .should
|
18 | .equal(true)
|
19 | })
|
20 | }) |
\ | No newline at end of file |