summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-08-30 17:15:52 +0200
committerwout <wout@impinc.co.uk>2014-08-30 17:15:52 +0200
commit5aa85e605368e4e30c4fcb62abb0031543a7d633 (patch)
tree15216ae9464613570036ec9523ecc76238ddc777 /spec
parentbde8508836f9cad16b462c811d124258ca35400d (diff)
downloadsvg.js-5aa85e605368e4e30c4fcb62abb0031543a7d633.tar.gz
svg.js-5aa85e605368e4e30c4fcb62abb0031543a7d633.zip
Removed matrix add() method
Diffstat (limited to 'spec')
-rw-r--r--spec/spec/matrix.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/spec/matrix.js b/spec/spec/matrix.js
index 78fd2b9..5c4776b 100644
--- a/spec/spec/matrix.js
+++ b/spec/spec/matrix.js
@@ -164,25 +164,6 @@ describe('Matrix', function() {
})
})
- describe('add()', function() {
- it('adds two matices', function() {
- var matrix1 = new SVG.Matrix(2, 0, 0, 5, 0, 0)
- , matrix2 = new SVG.Matrix(1.1, 0, 0, 1.5, 4, 3)
- , matrix3 = matrix1.add(matrix2)
-
- expect(matrix1.toString()).toBe('matrix(2,0,0,5,0,0)')
- expect(matrix2.toString()).toBe('matrix(1.1,0,0,1.5,4,3)')
- expect(matrix3.toString()).toBe('matrix(2.1,0,0,5.5,4,3)')
- })
- it('accepts two matrices in any form', function() {
- var matrix1 = new SVG.Matrix(2, 0, 0, 5, 0, 0)
- , matrix2 = matrix1.add('1.1,0,0,1.5,4,3')
-
- expect(matrix1.toString()).toBe('matrix(2,0,0,5,0,0)')
- expect(matrix2.toString()).toBe('matrix(2.1,0,0,5.5,4,3)')
- })
- })
-
describe('inverse()', function() {
it('inverses matrix', function() {
var matrix1 = new SVG.Matrix(2, 0, 0, 5, 4, 3)