//===========================================================================// // File: testall.cc // // Contents: Program to test all the classes // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- ---------------------------------------------------------- // // 10/20/94 ECH Initial coding. // // 11/01/94 JMA Made compatible with SGI CC // // 11/03/94 ECH Made compatible with BC4.0 // //---------------------------------------------------------------------------// // Copyright (C) 1994, Virtual World Entertainment, Inc. All Rights reserved // // PROPRIETARY AND CONFIDENTIAL // //===========================================================================// // //------------------------------------------------- // Utilities //------------------------------------------------- // #include #pragma hdrstop #if !defined(NAMELIST_HPP) # include #endif #if !defined(NOTATION_HPP) # include #endif // //------------------------------------------------- // Math //------------------------------------------------- // #if !defined(RECT2D_HPP) # include #endif #if !defined(ANGLE_HPP) # include #endif #if !defined(RANDOM_HPP) # include #endif #if !defined(VECTOR4D_HPP) # include #endif #if !defined(ROTATION_HPP) # include #endif #if !defined(ORIGIN_HPP) # include #endif #if !defined(LINMTRX_HPP) # include #endif #if !defined(MATRIX_HPP) # include #endif #if !defined(UNITVEC_HPP) # include #endif #if !defined(RAY_HPP) # include #endif #if !defined(NORMAL_HPP) # include #endif // //---------------- // Spatial library //---------------- // #if !defined(BOXSOLID_HPP) # include #endif // //------------------ // Connection Engine //------------------ // #if !defined(VCHAIN_HPP) # include #endif #if !defined(TREE_HPP) # include #endif #if !defined(TABLE_HPP) # include #endif #if !defined(HASH_HPP) # include #endif #if !defined(TIME_HPP) # include #endif #if !defined(RECEIVER_HPP) # include #endif // #define RUN_APPLICATION char GlobalEggFileName[80]; int main() { #if defined(TEST_CLASS) // //----------------------- // Test NameList classes //----------------------- // #if 1 #if 1 ObjectNameList::TestClass(); NameList::TestClass(); AlphaNameList::TestClass(); NotationFile::TestClass(); #endif #if 1 ResourceFile::TestClass(); StreamableResourceFile::TestClass(); #endif // //------------------ // Test string class //------------------ // #if 1 CString::TestClass(); #endif // //---------------- // Test Math brick //---------------- // #if 1 RandomGenerator::TestClass(); Radian::TestClass(); Degree::TestClass(); SinCosPair::TestClass(); Vector3D::TestClass(); LBE3Vector3D::TestClass(); TIVector3D::TestClass(); Vector4D::TestClass(); Point3D::TestClass(); UnitVector::TestClass(); Ray::TestClass(); EulerAngles::TestClass(); Quaternion::TestClass(); Origin::TestClass(); AffineMatrix::TestClass(); LinearMatrix::TestClass(); Matrix4x4::TestClass(); Normal::TestClass(); Rectangle2D::TestClass(); #endif // //----------------- // Test spatializer //----------------- // #if 1 BoundingBox::TestClass(); BoxedSolid::TestClass(); #endif // //------------------ // Test time manager //------------------ // #if 1 Time::TestClass(); #endif // //------------------------ // Test connection library //------------------------ // #if 1 Chain::TestClass(); SChain::TestClass(); VChain::TestClass(); Tree::TestClass(); Table::TestClass(); Hash::TestClass(); #endif // //------------------ // Test Memory brick //------------------ // #if 1 MemoryBlock::TestClass(); MemoryStack::TestClass(); #endif // //---------------------------- // Test dynamic dispatch brick //---------------------------- // #if 1 MessageTap::TestClass(); Receiver::MessageHandlerSet::TestClass(); Derivation::TestClass(); Receiver::TestClass(); #endif #endif // //-------------------------------------------- // Stop registering, and tell us about its use //-------------------------------------------- // Tell("Exiting\n"); #endif return 0; }