Skip to content

Commit

Permalink
Test inverse of 1x1 matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoglan committed Mar 17, 2012
1 parent ca9913f commit c01258a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/specs/matrix_spec.js
Expand Up @@ -312,6 +312,7 @@ JS.ENV.MatrixSpec = JS.Test.describe("Matrix", function() { with(this) {
assert( M.x(M.inv()).eql(Matrix.I(4)) )
assert( M.inv().x(M).eql(Matrix.I(4)) )
}
assert( $M([[4]]).inv().eql($M([[0.25]])) )
}})

test("Rotation", function() { with(this) {
Expand Down

0 comments on commit c01258a

Please sign in to comment.