12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- /**
- * @author TristanVALCKE / https://github.com/Itee
- */
- /* global QUnit */
- import {
- TextGeometry,
- TextBufferGeometry
- } from '../../../../src/geometries/TextGeometry';
- export default QUnit.module( 'Geometries', () => {
- QUnit.module( 'TextGeometry', ( hooks ) => {
- var geometries = undefined;
- hooks.beforeEach( function () {
- // TODO: we cannot load any font from Threejs package :S
- const parameters = {
- font: undefined
- };
- geometries = [
- new TextGeometry()
- ];
- } );
- // INHERITANCE
- QUnit.todo( "Extending", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- // INSTANCING
- QUnit.todo( "Instancing", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- // OTHERS
- QUnit.test( 'Standard geometry tests', ( assert ) => {
- runStdGeometryTests( assert, geometries );
- } );
- } );
- QUnit.module( 'TextBufferGeometry', ( hooks ) => {
- var geometries = undefined;
- hooks.beforeEach( function () {
- const parameters = {};
- geometries = [
- new TextBufferGeometry()
- ];
- } );
- // INHERITANCE
- QUnit.todo( "Extending", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- // INSTANCING
- QUnit.todo( "Instancing", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- // OTHERS
- QUnit.test( 'Standard geometry tests', ( assert ) => {
- runStdGeometryTests( assert, geometries );
- } );
- } );
- } );
|