ConeGeometry.tests.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /**
  2. * @author TristanVALCKE / https://github.com/Itee
  3. */
  4. /* global QUnit */
  5. import { runStdGeometryTests } from '../../qunit-utils';
  6. import {
  7. ConeGeometry,
  8. ConeBufferGeometry
  9. } from '../../../../src/geometries/ConeGeometry';
  10. export default QUnit.module( 'Geometries', () => {
  11. QUnit.module( 'ConeGeometry', ( hooks ) => {
  12. var geometries = undefined;
  13. hooks.beforeEach( function () {
  14. geometries = [
  15. new ConeGeometry()
  16. ];
  17. } );
  18. // INHERITANCE
  19. QUnit.todo( "Extending", ( assert ) => {
  20. assert.ok( false, "everything's gonna be alright" );
  21. } );
  22. // INSTANCING
  23. QUnit.todo( "Instancing", ( assert ) => {
  24. assert.ok( false, "everything's gonna be alright" );
  25. } );
  26. // OTHERS
  27. QUnit.test( 'Standard geometry tests', ( assert ) => {
  28. runStdGeometryTests( assert, geometries );
  29. } );
  30. } );
  31. QUnit.module( 'ConeBufferGeometry', ( hooks ) => {
  32. var geometries = undefined;
  33. hooks.beforeEach( function () {
  34. geometries = [
  35. new ConeBufferGeometry()
  36. ];
  37. } );
  38. // INHERITANCE
  39. QUnit.todo( "Extending", ( assert ) => {
  40. assert.ok( false, "everything's gonna be alright" );
  41. } );
  42. // INSTANCING
  43. QUnit.todo( "Instancing", ( assert ) => {
  44. assert.ok( false, "everything's gonna be alright" );
  45. } );
  46. // OTHERS
  47. QUnit.test( 'Standard geometry tests', ( assert ) => {
  48. runStdGeometryTests( assert, geometries );
  49. } );
  50. } );
  51. } );
粤ICP备19079148号