Vector related exports

This commit is contained in:
Tim Schaub
2013-03-05 18:13:10 +01:00
parent 12bee3178e
commit e1c3faa53e
19 changed files with 116 additions and 70 deletions
+6 -3
View File
@@ -7,15 +7,18 @@ describe('ol.style.LineLiteral', function() {
it('identifies equal literals', function() {
var literal = new ol.style.LineLiteral({
strokeWidth: 3,
strokeStyle: '#BADA55'
strokeStyle: '#BADA55',
opacity: 1
});
var equalLiteral = new ol.style.LineLiteral({
strokeStyle: '#BADA55',
strokeWidth: 3
strokeWidth: 3,
opacity: 1
});
var differentLiteral = new ol.style.LineLiteral({
strokeStyle: '#013',
strokeWidth: 3
strokeWidth: 3,
opacity: 1
});
expect(literal.equals(equalLiteral)).toBe(true);
expect(literal.equals(differentLiteral)).toBe(false);