Skip to content

Commit

Permalink
Updated quaternion tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chandlerprall committed Oct 16, 2014
1 parent 8aa7ab4 commit ee10569
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/math/quaternion.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
expect( quaternion ).property( 'x', 0 );
expect( quaternion ).property( 'y', 0 );
expect( quaternion ).property( 'z', 0 );
expect( quaternion ).property( 'w', 0 );
expect( quaternion ).property( 'w', 1 );
});

it('Instantiate with values', function(){
Expand Down Expand Up @@ -75,7 +75,7 @@
expect( quaternion ).property( 'x', 0 );
expect( quaternion ).property( 'y', 0 );
expect( quaternion ).property( 'z', 0 );
expect( quaternion ).property( 'w', 0 );
expect( quaternion ).property( 'w', 1 );

quaternion = new Goblin.Quaternion( 1, 0, 0, 1 );
quaternion.normalize();
Expand All @@ -100,7 +100,7 @@
expect( q2 ).property( 'x', 0 );
expect( q2 ).property( 'y', 0 );
expect( q2 ).property( 'z', 0 );
expect( q2 ).property( 'w', 0 );
expect( q2 ).property( 'w', 1 );

q1 = new Goblin.Quaternion( 1, 0, 0, 1 );
q2.invertQuaternion( q1 );
Expand Down

0 comments on commit ee10569

Please sign in to comment.