//------------------------------------------------------------------------------
// Lamp : Open source game middleware
// Copyright (C) 2004  Junpei Ohtani ( Email : junpee@users.sourceforge.jp )
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//------------------------------------------------------------------------------

/** @file
 * 全てのジオメトリ距離テスト実装
 * @author Junpee
 */

#include "Test/stdafx.h"
#include "Geometry/Distance/GeometryDistanceAllTests.h"

#include "Geometry/Distance/AxisAlignedBoxDistanceTest.h"
#include "Geometry/Distance/CapsuleDistanceTest.h"
#include "Geometry/Distance/ConeDistanceTest.h"
#include "Geometry/Distance/LineDistanceTest.h"
#include "Geometry/Distance/OrientedBoxDistanceTest.h"
#include "Geometry/Distance/PlaneDistanceTest.h"
#include "Geometry/Distance/RayDistanceTest.h"
#include "Geometry/Distance/SegmentDistanceTest.h"
#include "Geometry/Distance/SphereDistanceTest.h"
#include "Geometry/Distance/TriangleDistanceTest.h"

//------------------------------------------------------------------------------
// コンストラクタ
GeometryDistanceAllTests::GeometryDistanceAllTests() :
	TestSuite("GeometryDistanceAllTests"){
	// 軸沿いボックスの距離テスト
	addTest(AxisAlignedBoxDistanceTest::suite());
	// カプセルの距離テスト
	addTest(CapsuleDistanceTest::suite());
	// コーンの距離テスト
	addTest(ConeDistanceTest::suite());
	// ラインの距離テスト
	addTest(LineDistanceTest::suite());
	// 指向性ボックスの距離テスト
	addTest(OrientedBoxDistanceTest::suite());
	// 平面の距離テスト
	addTest(PlaneDistanceTest::suite());
	// レイの距離テスト
	addTest(RayDistanceTest::suite());
	// セグメントの距離テスト
	addTest(SegmentDistanceTest::suite());
	// 球の距離テスト
	addTest(SphereDistanceTest::suite());
	// 三角の距離テスト
	addTest(TriangleDistanceTest::suite());
}
//------------------------------------------------------------------------------
