Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should get a Polygon from a wkx.Types.wkt.Polygon name', function() {
var wkb = WKB.fromName(wkx.wkt.Polygon);
wkb.should.be.equal(wkx.wkb.Polygon);
});
it('should get a point from a wkx.Types.wkt.Point name', function() {
var wkb = WKB.fromName(wkx.wkt.Point);
wkb.should.be.equal(wkx.wkb.Point);
});