//------------------------------------------------------------------------------
// 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/Intersection/GeometryIntersectionAllTests.h"

#include "Geometry/Intersection/AxisAlignedBoxIntersectionTest.h"
#include "Geometry/Intersection/CapsuleIntersectionTest.h"
#include "Geometry/Intersection/ConeIntersectionTest.h"
#include "Geometry/Intersection/LineIntersectionTest.h"
#include "Geometry/Intersection/OrientedBoxIntersectionTest.h"
#include "Geometry/Intersection/PlaneIntersectionTest.h"
#include "Geometry/Intersection/RayIntersectionTest.h"
#include "Geometry/Intersection/SegmentIntersectionTest.h"
#include "Geometry/Intersection/SphereIntersectionTest.h"
#include "Geometry/Intersection/TriangleIntersectionTest.h"

//------------------------------------------------------------------------------
// コンストラクタ
GeometryIntersectionAllTests::GeometryIntersectionAllTests() :
	TestSuite("GeometryIntersectionAllTests"){
	// 軸沿いボックスの交差テスト
	addTest(AxisAlignedBoxIntersectionTest::suite());
	// カプセルの交差テスト
	addTest(CapsuleIntersectionTest::suite());
	// コーンの交差テスト
	addTest(ConeIntersectionTest::suite());
	// ラインの交差テスト
	addTest(LineIntersectionTest::suite());
	// 指向性ボックスの交差テスト
	addTest(OrientedBoxIntersectionTest::suite());
	// 平面の交差テスト
	addTest(PlaneIntersectionTest::suite());
	// レイの交差テスト
	addTest(RayIntersectionTest::suite());
	// セグメントの交差テスト
	addTest(SegmentIntersectionTest::suite());
	// 球の交差テスト
	addTest(SphereIntersectionTest::suite());
	// 三角の交差テスト
	addTest(TriangleIntersectionTest::suite());
}
//------------------------------------------------------------------------------
