ShapeGeometry.tests.js 1009 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /**
  2. * @author TristanVALCKE / https://github.com/Itee
  3. */
  4. /* global QUnit */
  5. import {
  6. ShapeBufferGeometry
  7. } from '../../../../src/geometries/ShapeGeometry';
  8. import { Shape } from '../../../../src/extras/core/Shape';
  9. export default QUnit.module( 'Geometries', () => {
  10. QUnit.module( 'ShapeBufferGeometry', ( hooks ) => {
  11. var geometries = undefined;
  12. hooks.beforeEach( function () {
  13. var triangleShape = new Shape();
  14. triangleShape.moveTo( 0, - 1 );
  15. triangleShape.lineTo( 1, 1 );
  16. triangleShape.lineTo( - 1, 1 );
  17. geometries = [
  18. new ShapeBufferGeometry( triangleShape )
  19. ];
  20. } );
  21. // INHERITANCE
  22. QUnit.todo( "Extending", ( assert ) => {
  23. assert.ok( false, "everything's gonna be alright" );
  24. } );
  25. // INSTANCING
  26. QUnit.todo( "Instancing", ( assert ) => {
  27. assert.ok( false, "everything's gonna be alright" );
  28. } );
  29. // OTHERS
  30. QUnit.todo( 'Standard geometry tests', ( assert ) => {
  31. assert.ok( false, "everything's gonna be alright" );
  32. } );
  33. } );
  34. } );