12345678910111213141516171819202122232425262728293031323334 |
- /**
- * @author TristanVALCKE / https://github.com/TristanVALCKE
- */
- //Todo
- console.warn("Todo: Unit tests of AnimationAction")
- //QUnit.module( "AnimationAction" );
- //
- //QUnit.test( "Instancing", function( assert ) {
- //
- // var mixer = new THREE.AnimationMixer();
- // var clip = new THREE.AnimationClip();
- //
- // assert.throws(
- // function() {
- // new THREE.AnimationAction()
- // },
- // new Error("Mixer can't be null or undefined !"),
- // "raised error instance about undefined or null mixer"
- // );
- //
- // assert.throws(
- // function() {
- // new THREE.AnimationAction(mixer)
- // },
- // new Error("Clip can't be null or undefined !"),
- // "raised error instance about undefined or null clip"
- // );
- //
- // var animationAction = new THREE.AnimationAction(mixer, clip);
- // assert.ok( animationAction, "animationAction instanciated" );
- //
- //} );
|