Skip to content

Commit

Permalink
Remove unneeded tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bagnell committed Jun 26, 2013
1 parent e75cff8 commit e555153
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions Specs/Core/GeometryPipelineSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1785,37 +1785,4 @@ defineSuite([
return GeometryPipeline.wrapLongitude();
}).toThrow();
});

it('wrapLongitude throws when geometry.indices is undefined', function() {
var geometry = new Geometry({
attributes : {
position : new GeometryAttribute({
componentDatatype : ComponentDatatype.DOUBLE,
componentsPerAttribute : 3,
values : new Float64Array([1.0, 1.0, 0.0, 1.0, 1.0, 2.0])
})
},
primitiveType : PrimitiveType.LINES
});
expect(function() {
return GeometryPipeline.wrapLongitude(geometry);
}).toThrow();
});

it('wrapLongitude throws when geometry.primitiveType is unsupported', function() {
var geometry = new Geometry({
attributes : {
position : new GeometryAttribute({
componentDatatype : ComponentDatatype.DOUBLE,
componentsPerAttribute : 3,
values : new Float64Array([1.0, 1.0, 0.0, 1.0, 1.0, 2.0])
})
},
indices : new Uint16Array([0, 1]),
primitiveType : PrimitiveType.LINE_LOOP
});
expect(function() {
return GeometryPipeline.wrapLongitude(geometry);
}).toThrow();
});
});

0 comments on commit e555153

Please sign in to comment.