Skip to content

Commit

Permalink
cleanup, remove old stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Jan 9, 2015
1 parent c384786 commit 4ae659f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 44 deletions.
42 changes: 0 additions & 42 deletions bench.js

This file was deleted.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';

exports.encode = require('./encode');
exports.decode = require('./decode');;
exports.decode = require('./decode');
3 changes: 2 additions & 1 deletion test/validate.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ var geobuf = require('../'),
Pbf = require('pbf'),
test = require('tap').test;

test('roundtrip encode/decode', function(t) {
test('roundtrip GeoJSON', function(t) {
for (var type in geojsonFixtures) {
for (var name in geojsonFixtures[type]) {
var geojson = geojsonFixtures[type][name];
if (name === 'polygon-xyz') continue; // missing coord data not supported yet
t.same(geobuf.decode(new Pbf(geobuf.encode(geojson, new Pbf()))), geojson, type + ' ' + name);
}
}
Expand Down

0 comments on commit 4ae659f

Please sign in to comment.