initial commit

This commit is contained in:
2026-03-22 03:21:45 +02:00
commit 897fea9f4e
15431 changed files with 2548840 additions and 0 deletions

25
node_modules/region/test/RegionPointTests.js generated vendored Normal file
View File

@@ -0,0 +1,25 @@
describe('Region point functions', function(){
var Region = require('../index')
it('should containPoint', function(){
var r = Region({
top: 10,
left: 10,
width: 10,
height: 10
})
r.containsPoint(15, 10)
.should
.equal(true)
r.containsPoint({x: 10, y: 10})
.should
.equal(true)
r.containsPoint(25, 10)
.should
.equal(false)
})
})