Add tests to LineStringReplay

This commit is contained in:
GaborFarkas
2016-07-05 18:19:24 +02:00
parent 638b7752fa
commit e893603966
3 changed files with 212 additions and 0 deletions

View File

@@ -98,5 +98,12 @@ describe('ol.rendering.style.LineString', function() {
map, 'spec/ol/style/expected/linestring-strokes-canvas.png',
3.0, done);
});
it('tests the WebGL renderer', function(done) {
assertWebGL();
map = createMap('webgl');
createFeatures();
expectResemble(map, 'spec/ol/style/expected/linestring-strokes-webgl.png',
3.0, done);
});
});
});