DodecahedronGeometry.tests.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /**
  2. * @author TristanVALCKE / https://github.com/Itee
  3. * @author Anonymous
  4. */
  5. /* global QUnit */
  6. import { runStdGeometryTests } from '../../utils/qunit-utils';
  7. import {
  8. DodecahedronBufferGeometry
  9. } from '../../../../src/geometries/DodecahedronGeometry';
  10. export default QUnit.module( 'Geometries', () => {
  11. QUnit.module( 'CircleBufferGeometry', ( hooks ) => {
  12. var geometries = undefined;
  13. hooks.beforeEach( function () {
  14. const parameters = {
  15. radius: 10,
  16. detail: undefined
  17. };
  18. geometries = [
  19. new DodecahedronBufferGeometry(),
  20. new DodecahedronBufferGeometry( parameters.radius ),
  21. new DodecahedronBufferGeometry( parameters.radius, parameters.detail ),
  22. ];
  23. } );
  24. // INHERITANCE
  25. QUnit.todo( "Extending", ( assert ) => {
  26. assert.ok( false, "everything's gonna be alright" );
  27. } );
  28. // INSTANCING
  29. QUnit.todo( "Instancing", ( assert ) => {
  30. assert.ok( false, "everything's gonna be alright" );
  31. } );
  32. // OTHERS
  33. QUnit.test( 'Standard geometry tests', ( assert ) => {
  34. runStdGeometryTests( assert, geometries );
  35. } );
  36. } );
  37. } );