Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

tests.cpp File Reference

#include <assert.h>
#include <iostream>
#include "bsp.h"
#include "game_bsp.h"
#include "bsp_loader.h"

Go to the source code of this file.

Functions

bool Test_Path_Finder_1 ()
bool Test_Path_Finder_2 ()
bool Test_Path_Finder_3 ()
bool Test_Path_Finder_4 ()
bool Test_Path_Finder_5 ()
void Test_Intersections_1 ()
void Test_Intersections_2 ()
void Test_Intersections ()
 test les intersections entre les walls et des segments quelconques

void Test_Path_Finder ()
 test le module de pathfinding


Variables

Debugger Debug_File ("output.txt")
 debugger ( fichier texte) vers lequel on envoie des infos


Function Documentation

void Test_Intersections  ) 
 

test les intersections entre les walls et des segments quelconques

Definition at line 26 of file tests.cpp.

References Test_Intersections_1(), and Test_Intersections_2().

Referenced by main().

void Test_Intersections_1  ) 
 

Definition at line 34 of file tests.cpp.

References cGame_World::Decorate(), cGame_World::Do_Segment_Intersect_Walls(), cPoint2D::Get_X(), cPoint2D::Get_Y(), cBSP_Loader::Load(), and cPoint2D::Set().

Referenced by Test_Intersections().

void Test_Intersections_2  ) 
 

Definition at line 132 of file tests.cpp.

References cGame_World::Decorate(), cGame_World::Do_Ball_Intersect_Walls(), and cBSP_Loader::Load().

Referenced by Test_Intersections().

void Test_Path_Finder  ) 
 

test le module de pathfinding

Definition at line 206 of file tests.cpp.

References Test_Path_Finder_1(), Test_Path_Finder_2(), Test_Path_Finder_3(), Test_Path_Finder_4(), and Test_Path_Finder_5().

Referenced by main().

bool Test_Path_Finder_1  ) 
 

Definition at line 249 of file tests.cpp.

References cGame_World::Decorate(), cGame_World::Find_Path(), cBSP_Loader::Load(), cPoint2D::X, and cPoint2D::Y.

Referenced by Test_Path_Finder().

bool Test_Path_Finder_2  ) 
 

Definition at line 311 of file tests.cpp.

References cGame_World::Decorate(), cGame_World::Find_Path(), and cBSP_Loader::Load().

Referenced by Test_Path_Finder().

bool Test_Path_Finder_3  ) 
 

Definition at line 334 of file tests.cpp.

References cGame_World::Decorate(), cGame_World::Find_Path(), cBSP_Loader::Load(), cPoint2D::X, and cPoint2D::Y.

Referenced by Test_Path_Finder().

bool Test_Path_Finder_4  ) 
 

Definition at line 458 of file tests.cpp.

References cGame_World::Decorate(), cGame_World::Find_Path(), cBSP_Loader::Load(), cPoint2D::X, and cPoint2D::Y.

Referenced by Test_Path_Finder().

bool Test_Path_Finder_5  ) 
 

Definition at line 531 of file tests.cpp.

References cGame_World::Decorate(), cGame_World::Find_Path(), cBSP_Loader::Load(), cPoint2D::X, and cPoint2D::Y.

Referenced by Test_Path_Finder().


Variable Documentation

Debugger Debug_File("output.txt")
 

debugger ( fichier texte) vers lequel on envoie des infos

Definition at line 33 of file main.h.


Generated on Fri May 21 19:22:37 2004 for LIBELL by doxygen 1.3.7