Changeset 457 for trunk/Source/Base/Base/OSGVectorTest.cpp
- Timestamp:
- 12/24/06 07:27:43 (2 years ago)
- Files:
-
- trunk/Source/Base/Base/OSGVectorTest.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/Base/Base/OSGVectorTest.cpp
r397 r457 1 /*---------------------------------------------------------------------------*\ 2 * OpenSG * 3 * * 4 * * 5 * Copyright (C) 2000-2006 by the OpenSG Forum * 6 * * 7 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de * 8 * * 9 \*---------------------------------------------------------------------------*/ 10 /*---------------------------------------------------------------------------*\ 11 * License * 12 * * 13 * This library is free software; you can redistribute it and/or modify it * 14 * under the terms of the GNU Library General Public License as published * 15 * by the Free Software Foundation, version 2. * 16 * * 17 * This library is distributed in the hope that it will be useful, but * 18 * WITHOUT ANY WARRANTY; without even the implied warranty of * 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 20 * Library General Public License for more details. * 21 * * 22 * You should have received a copy of the GNU Library General Public * 23 * License along with this library; if not, write to the Free Software * 24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 25 * * 26 \*---------------------------------------------------------------------------*/ 27 /*---------------------------------------------------------------------------*\ 28 * Changes * 29 * * 30 * * 31 * * 32 * * 33 * * 34 * * 35 \*---------------------------------------------------------------------------*/ 1 36 2 37 #include <UnitTest++.h> … … 8 43 OSG_USING_NAMESPACE 9 44 10 SUITE(Vector )45 SUITE(VectorTests) 11 46 { 12 47 13 48 TEST(InstantiateAllVectorTypes) 14 49 { 15 Vec1f v1f; 16 Vec2f v2f; 17 Vec3f v3f; 18 Vec4f v4f; 19 Vec1b v1b; 20 Vec2b v2b; 21 Vec3b v3b; 22 Vec4b v4b; 23 50 Vec1f v1f; 51 Vec2f v2f; 52 Vec3f v3f; 53 Vec4f v4f; 54 55 Vec1d v1d; 56 Vec2d v2d; 57 Vec3d v3d; 58 Vec4d v4d; 59 60 Vec1ub v1ub; 61 Vec2ub v2ub; 62 Vec3ub v3ub; 63 Vec4ub v4ub; 64 65 Vec1b v1b; 66 Vec2b v2b; 67 Vec3b v3b; 68 Vec4b v4b; 69 70 Vec1us v1us; 71 Vec2us v2us; 72 Vec3us v3us; 73 Vec4us v4us; 74 75 Vec1s v1s; 76 Vec2s v2s; 77 Vec3s v3s; 78 Vec4s v4s; 79 80 Vec1fx v1fx; 81 Vec2fx v2fx; 82 Vec3fx v3fx; 83 Vec4fx v4fx; 84 24 85 CHECK(true); 25 86 } 26 87 27 88 28 29 89 TEST(InstantiateAllPointTypes) 30 90 { 31 Pnt1f p1f; 32 Pnt2f p2f; 33 Pnt3f p3f; 34 Pnt4f p4f; 35 Pnt1b p1b; 36 Pnt2b p2b; 37 Pnt3b p3b; 38 Pnt4b p4b; 39 91 Pnt1f p1f; 92 Pnt2f p2f; 93 Pnt3f p3f; 94 Pnt4f p4f; 95 96 Pnt1d p1d; 97 Pnt2d p2d; 98 Pnt3d p3d; 99 Pnt4d p4d; 100 101 Pnt1ub p1ub; 102 Pnt2ub p2ub; 103 Pnt3ub p3ub; 104 Pnt4ub p4ub; 105 106 Pnt1b p1b; 107 Pnt2b p2b; 108 Pnt3b p3b; 109 Pnt4b p4b; 110 111 Pnt1us p1us; 112 Pnt2us p2us; 113 Pnt3us p3us; 114 Pnt4us p4us; 115 116 Pnt1s p1s; 117 Pnt2s p2s; 118 Pnt3s p3s; 119 Pnt4s p4s; 120 121 Pnt1fx p1fx; 122 Pnt2fx p2fx; 123 Pnt3fx p3fx; 124 Pnt4fx p4fx; 125 40 126 CHECK(true); 41 127 }
