diff --git a/tests/.gitignore b/tests/.gitignore index e73ddb5..c6a23f6 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -1,12 +1,12 @@ -# Since we're using premake4, only include test source file and the premake4.lua, -# everything else can go. - -* - -!.gitignore -!.gitkeep -!main.cpp -!premake4.lua -!igloo/ -!tests/ +# Since we're using premake4, only include test source file and the premake4.lua, +# everything else can go. + +* + +!.gitignore +!.gitkeep +!main.cpp +!premake4.lua +!igloo/ +!tests/*.h !*.h \ No newline at end of file diff --git a/tests/main.cpp b/tests/main.cpp index 5c0c07f..a35b022 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -1,10 +1,13 @@ -#include "math/Vector3.h" - -// Testing Headers -#include "tests/Vector3Tests.h" - -int main() -{ - - return 0; +#include "math/Vector3.h" + +// Testing Headers +#include + +#include "tests/TestsVector3.h" + + +int main() +{ + + return 0; } \ No newline at end of file diff --git a/tests/premake4.lua b/tests/premake4.lua index 38808e4..8b58ccb 100644 --- a/tests/premake4.lua +++ b/tests/premake4.lua @@ -1,50 +1,52 @@ --- http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Premake --- http://industriousone.com/command-line-arguments --- http://blog.assarbad.net/20120929/premake4-snippet-to-create-solution-names-depending-on-target-visual-studio-version/ - -solution "tests" - - location "." - configurations { "Debug", "Release" } - platforms { "native", "x32", "x64", "universal" } - flags { "ExtraWarnings" } - - configuration "Debug" - defines { "DEBUG", "TRACE" } - flags { "Symbols" } - - configuration "Release" - defines { "NDEBUG", "TRACE" } - flags { "Optimize" } - - - -- Project kinds - -- ConsoleApp - -- Makefile - -- SharedLib - -- StaticLib - -- WindowedApp - - project "tests" - kind "ConsoleApp" - language "C++" - targetdir "bin" - files { "../src/**.cpp", "main.cpp" } - - includedirs { - "../include", - } - - configuration { "x64", "debug" } - targetsuffix "x64_d" - configuration { "x64", "release" } - targetsuffix "x64" - - configuration "Debug" - defines { "DEBUG", "USE_CHEATS", "TRACE" } - flags { "Symbols" } - targetsuffix "_d" - - configuration "Release" - defines { "NDEBUG", "USE_CHEATS", "TRACE" } +-- http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Premake +-- http://industriousone.com/command-line-arguments +-- http://blog.assarbad.net/20120929/premake4-snippet-to-create-solution-names-depending-on-target-visual-studio-version/ + +solution "tests" + + location "." + configurations { "Debug", "Release" } + platforms { "native", "x32", "x64", "universal" } + flags { "ExtraWarnings" } + + configuration "Debug" + defines { "DEBUG", "TRACE" } + flags { "Symbols" } + + configuration "Release" + defines { "NDEBUG", "TRACE" } + flags { "Optimize" } + + + -- Project kinds + -- ConsoleApp + -- Makefile + -- SharedLib + -- StaticLib + -- WindowedApp + + project "tests" + kind "ConsoleApp" + language "C++" + targetdir "bin" + files { "../src/**.cpp", "main.cpp" } + + includedirs { + "../include", + ".", + "igloo" + } + + configuration { "x64", "debug" } + targetsuffix "x64_d" + configuration { "x64", "release" } + targetsuffix "x64" + + configuration "Debug" + defines { "DEBUG", "USE_CHEATS", "TRACE" } + flags { "Symbols" } + targetsuffix "_d" + + configuration "Release" + defines { "NDEBUG", "USE_CHEATS", "TRACE" } flags { "Optimize" } \ No newline at end of file diff --git a/tests/tests/Vector3Tests.h b/tests/tests/Vector3Tests.h deleted file mode 100644 index be59b4e..0000000 --- a/tests/tests/Vector3Tests.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef __VECTOR3TESTS_H__ -#define __VECTOR3TESTS_H__ - - class Vector3Tests // inherit from UnitTest - { - public: - }; - -#endif //__VECTOR3TESTS_H__