Skip to content

Commit

Permalink
[mac]Issue #123, Test + unittest.
Browse files Browse the repository at this point in the history
  • Loading branch information
M-F-K committed May 11, 2013
1 parent 9e00f7d commit 7c4a8e7
Show file tree
Hide file tree
Showing 30 changed files with 140 additions and 39 deletions.
12 changes: 6 additions & 6 deletions IndieLib/mac/TestsOSX/TestsOSX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
E7DBCB1D159C78F600C8B2D9 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E7DBCB1C159C78F600C8B2D9 /* Cocoa.framework */; };
E7DBCB27159C78F600C8B2D9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E7DBCB25159C78F600C8B2D9 /* InfoPlist.strings */; };
E7DBCB2D159C78F600C8B2D9 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = E7DBCB2B159C78F600C8B2D9 /* Credits.rtf */; };
E7DBCBA3159C7A8D00C8B2D9 /* CIndieLib_vc2008.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E7DBCB78159C7A8C00C8B2D9 /* CIndieLib_vc2008.cpp */; };
E7DBCBA3159C7A8D00C8B2D9 /* CIndieLib.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E7DBCB78159C7A8C00C8B2D9 /* CIndieLib.cpp */; };
E7DBCBA4159C7A8D00C8B2D9 /* AnimationTests.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E7DBCB7C159C7A8D00C8B2D9 /* AnimationTests.cpp */; };
E7DBCBA5159C7A8D00C8B2D9 /* Camera2dTests.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E7DBCB7F159C7A8D00C8B2D9 /* Camera2dTests.cpp */; };
E7DBCBA6159C7A8D00C8B2D9 /* FontTests.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E7DBCB82159C7A8D00C8B2D9 /* FontTests.cpp */; };
Expand Down Expand Up @@ -91,8 +91,8 @@
E7DBCB26159C78F600C8B2D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E7DBCB2A159C78F600C8B2D9 /* IndielibTests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "IndielibTests-Prefix.pch"; sourceTree = "<group>"; };
E7DBCB2C159C78F600C8B2D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
E7DBCB78159C7A8C00C8B2D9 /* CIndieLib_vc2008.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CIndieLib_vc2008.cpp; path = ../../../tests/CIndieLib_vc2008.cpp; sourceTree = "<group>"; };
E7DBCB79159C7A8C00C8B2D9 /* CIndieLib_vc2008.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CIndieLib_vc2008.h; path = ../../../tests/CIndieLib_vc2008.h; sourceTree = "<group>"; };
E7DBCB78159C7A8C00C8B2D9 /* CIndieLib.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CIndieLib.cpp; path = ../../../tests/CIndieLib.cpp; sourceTree = "<group>"; };
E7DBCB79159C7A8C00C8B2D9 /* CIndieLib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CIndieLib.h; path = ../../../tests/CIndieLib.h; sourceTree = "<group>"; };
E7DBCB7C159C7A8D00C8B2D9 /* AnimationTests.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AnimationTests.cpp; sourceTree = "<group>"; };
E7DBCB7D159C7A8D00C8B2D9 /* AnimationTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AnimationTests.h; sourceTree = "<group>"; };
E7DBCB7F159C7A8D00C8B2D9 /* Camera2dTests.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Camera2dTests.cpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -206,8 +206,8 @@
E7DBCB22159C78F600C8B2D9 /* IndielibTests */ = {
isa = PBXGroup;
children = (
E7DBCB78159C7A8C00C8B2D9 /* CIndieLib_vc2008.cpp */,
E7DBCB79159C7A8C00C8B2D9 /* CIndieLib_vc2008.h */,
E7DBCB78159C7A8C00C8B2D9 /* CIndieLib.cpp */,
E7DBCB79159C7A8C00C8B2D9 /* CIndieLib.h */,
E7071234159F057900BF34D9 /* WorkingPath.h */,
E7071232159EFEC500BF34D9 /* WorkingPath.cpp */,
E7DBCB7A159C7A8D00C8B2D9 /* manual */,
Expand Down Expand Up @@ -405,7 +405,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E7DBCBA3159C7A8D00C8B2D9 /* CIndieLib_vc2008.cpp in Sources */,
E7DBCBA3159C7A8D00C8B2D9 /* CIndieLib.cpp in Sources */,
E7DBCBA4159C7A8D00C8B2D9 /* AnimationTests.cpp in Sources */,
E7DBCBA5159C7A8D00C8B2D9 /* Camera2dTests.cpp in Sources */,
E7DBCBA6159C7A8D00C8B2D9 /* FontTests.cpp in Sources */,
Expand Down
12 changes: 6 additions & 6 deletions IndieLib/mac/UnitTests/UnitTests.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/* Begin PBXBuildFile section */
E744869615EA480100DDE3BF /* libIndielib.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = E744863F15EA3E3D00DDE3BF /* libIndielib.dylib */; };
E744869715EA481C00DDE3BF /* CIndieLib_vc2008.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E744866115EA412A00DDE3BF /* CIndieLib_vc2008.cpp */; };
E744869715EA481C00DDE3BF /* CIndieLib.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E744866115EA412A00DDE3BF /* CIndieLib.cpp */; };
E744869815EA482200DDE3BF /* Collisions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E744866415EA412A00DDE3BF /* Collisions.cpp */; };
E744869915EA482500DDE3BF /* Math.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E744866715EA412A00DDE3BF /* Math.cpp */; };
E744869B15EA482A00DDE3BF /* UnitTests.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E744866815EA412A00DDE3BF /* UnitTests.cpp */; };
Expand Down Expand Up @@ -114,8 +114,8 @@
E707129515A09A2E00BF34D9 /* XmlTestReporter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XmlTestReporter.cpp; sourceTree = "<group>"; };
E707129615A09A2E00BF34D9 /* XmlTestReporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XmlTestReporter.h; sourceTree = "<group>"; };
E744863A15EA3E3C00DDE3BF /* Indielib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Indielib.xcodeproj; path = ../IndieLib/Indielib.xcodeproj; sourceTree = "<group>"; };
E744866115EA412A00DDE3BF /* CIndieLib_vc2008.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CIndieLib_vc2008.cpp; path = ../../tests/CIndieLib_vc2008.cpp; sourceTree = "<group>"; };
E744866215EA412A00DDE3BF /* CIndieLib_vc2008.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CIndieLib_vc2008.h; path = ../../tests/CIndieLib_vc2008.h; sourceTree = "<group>"; };
E744866115EA412A00DDE3BF /* CIndieLib.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CIndieLib.cpp; path = ../../tests/CIndieLib.cpp; sourceTree = "<group>"; };
E744866215EA412A00DDE3BF /* CIndieLib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CIndieLib.h; path = ../../tests/CIndieLib.h; sourceTree = "<group>"; };
E744866415EA412A00DDE3BF /* Collisions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Collisions.cpp; sourceTree = "<group>"; };
E744866515EA412A00DDE3BF /* Image.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Image.cpp; sourceTree = "<group>"; };
E744866615EA412A00DDE3BF /* ImageManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ImageManager.cpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -247,8 +247,8 @@
children = (
E74486D215EA5C1500DDE3BF /* WorkingPath.cpp */,
E74486D315EA5C1500DDE3BF /* WorkingPath.h */,
E744866115EA412A00DDE3BF /* CIndieLib_vc2008.cpp */,
E744866215EA412A00DDE3BF /* CIndieLib_vc2008.h */,
E744866115EA412A00DDE3BF /* CIndieLib.cpp */,
E744866215EA412A00DDE3BF /* CIndieLib.h */,
E744866315EA412A00DDE3BF /* unittests */,
);
name = src;
Expand Down Expand Up @@ -356,7 +356,7 @@
E74486BC15EA488900DDE3BF /* TestResults.cpp in Sources */,
E74486BE15EA488900DDE3BF /* TestRunner.cpp in Sources */,
E74486C515EA488900DDE3BF /* XmlTestReporter.cpp in Sources */,
E744869715EA481C00DDE3BF /* CIndieLib_vc2008.cpp in Sources */,
E744869715EA481C00DDE3BF /* CIndieLib.cpp in Sources */,
E744869815EA482200DDE3BF /* Collisions.cpp in Sources */,
E744869915EA482500DDE3BF /* Math.cpp in Sources */,
E744869B15EA482A00DDE3BF /* UnitTests.cpp in Sources */,
Expand Down
101 changes: 101 additions & 0 deletions IndieLib/tests/CIndieLib.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
/*****************************************************************************************
* Desc: IndieLib singleton initialization class
*****************************************************************************************/

#include "CIndieLib.h"

/*
==================
Init singleton
==================
*/
CIndieLib *CIndieLib::_pinstance = 0;// initialize pointer
CIndieLib *CIndieLib::instance() {
if (_pinstance == 0) { // is it the first call?
_pinstance = new CIndieLib; // create sole instance
}
return _pinstance; // address of sole instance
}

/*
==================
Init IndieLib
==================
*/
bool CIndieLib::init() {
//resetCurrentDirectory_W();

// IndieLib Initialization, a debug.log file will be created.
IndieLib::init(IND_DEBUG_MODE);

_input = new IND_Input;
_render = new IND_Render;
//_lightManager = new IND_LightManager;
_imageManager = new IND_ImageManager;
_surfaceManager = new IND_SurfaceManager;
//_meshManager = new IND_3dMeshManager;
_animationManager = new IND_AnimationManager;
_fontManager = new IND_FontManager;
_entity2dManager = new IND_Entity2dManager;
//_entity3dManager = new IND_Entity3dManager;
_math = new IND_Math;

char windowPropsText[] = "IndieLib";
IND_WindowProperties props (windowPropsText, 800, 600, 32, 0, 0,1);


_window = _render ->initRenderAndWindow(props);
if(!_window)
return 0;

//if (!_lightManager ->init (_render)) return 0;
if (!_imageManager ->init()) return 0;
if (!_surfaceManager ->init(_imageManager, _render)) return 0;
if (!_animationManager ->init(_imageManager, _surfaceManager)) return 0;
if (!_fontManager ->init(_imageManager, _surfaceManager)) return 0;
if (!_entity2dManager ->init(_render)) return 0;
//if (!_entity3dManager ->init (_render)) return 0;
//if (!_meshManager ->init (_render)) return 0;
if (!_input ->init(_render)) return 0;
if (!_math ->init()) return 0;

return 1;
}


/*
==================
Free Indielib managers
==================
*/
void CIndieLib::end() {
// ----- Freeing objects -----

_math ->end();
//_meshManager ->end();
_input ->end();
_entity2dManager ->end();
//_entity3dManager ->end();
_fontManager ->end();
_animationManager ->end();
_surfaceManager ->end();
_imageManager ->end();
//_lightManager ->end();
_render ->end();

DISPOSE(_math);
//DISPOSE(_meshManager);
DISPOSE(_input);
DISPOSE(_entity2dManager);
//DISPOSE(_entity3dManager);
DISPOSE(_fontManager);
DISPOSE(_animationManager);
DISPOSE(_surfaceManager);
DISPOSE(_imageManager);
//DISPOSE(_lightManager);
DISPOSE(_render);

IndieLib::end();

DISPOSE(_pinstance);
}
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/ManualTestsMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
All relative loading paths will take into account that premise.
*****************************************************************************************/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include <vector>

//Leaks control
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/animation/AnimationTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "AnimationTests.h"
#include "IND_Animation.h"
#include "IND_Entity2d.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/camera2d/Camera2dTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "Camera2dTests.h"
#include "IND_Entity2d.h"

Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/collision/CollisionTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "CollisionTests.h"
#include "IND_Animation.h"
#include "IND_Entity2d.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "EntityTests_animateRotations.h"
#include "IND_Animation.h"
#include "IND_Entity2d.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "EntityTests_animateScale.h"
#include "IND_Animation.h"
#include "IND_Entity2d.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "EntityTests_interactions.h"
#include "IND_Animation.h"
#include "IND_Entity2d.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/font/FontTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "FontTests.h"
#include "IND_Font.h"
#include "IND_Entity2d.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/font/FontTests_Pretty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "FontTests_Pretty.h"
#include "IND_Font.h"
#include "IND_Surface.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/functionality/FunctionalityTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "FunctionalityTests.h"

static const float g_testingInterval = 500.f;
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/image/INDImageTests_Conversions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "INDImageTests_Conversions.h"
#include "IND_Surface.h"
#include "IND_Entity2d.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "INDImageTests_Conversions_NonRGB.h"
#include "IND_Surface.h"
#include "IND_Entity2d.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/image/INDImageTests_POTLoad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "INDImageTests_POTLoad.h"
#include "IND_Surface.h"
#include "IND_Entity2d.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/image/INDImageTests_nonPOTLoad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "INDImageTests_nonPOTLoad.h"
#include "IND_Surface.h"
#include "IND_Entity2d.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/primitives/PrimitiveTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "PrimitiveTests.h"
#include "IND_Entity2d.h"

Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/surface/SurfaceTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "SurfaceTests.h"
#include "IND_Surface.h"
#include "IND_Entity2d.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/surface/SurfaceTests_Filters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "SurfaceTests_Filters.h"
#include "IND_Surface.h"
#include "IND_Entity2d.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/surface/SurfaceTests_layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "SurfaceTests_layout.h"
#include "IND_Surface.h"
#include "IND_Entity2d.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/surface/SurfaceTests_textBlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "SurfaceTests_textBlock.h"
#include "IND_Surface.h"
#include "IND_Entity2d.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/manual/surface/SurfaceTests_wrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pla
Suite 330, Boston, MA 02111-1307 USA
*/

#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "SurfaceTests_wrap.h"
#include "IND_Surface.h"
#include "IND_Entity2d.h"
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/unittests/Collisions.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#include "dependencies/unittest++/src/UnitTest++.h"
#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"

TEST(pointToLineHorizontalDistanceFromMiddleIsSegment) {
IND_Vector2 a (10.0f, 10.0f);
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/unittests/FontManager.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "dependencies/unittest++/src/UnitTest++.h"
#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "IND_Font.h"

struct fontFixture {
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/unittests/Image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

#include "dependencies/unittest++/src/UnitTest++.h"
#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"


/*
Expand Down
2 changes: 1 addition & 1 deletion IndieLib/tests/unittests/ImageManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

#include "dependencies/unittest++/src/UnitTest++.h"
#include "CIndieLib_vc2008.h"
#include "CIndieLib.h"
#include "IND_Image.h"

TEST(add1) {
Expand Down
Loading

0 comments on commit 7c4a8e7

Please sign in to comment.