Selaa lähdekoodia

Clean up test files

Christophe Riccio 14 vuotta sitten
vanhempi
sitoutus
464ff7420c
3 muutettua tiedostoa jossa 1 lisäystä ja 39 poistoa
  1. 1 1
      test/CMakeLists.txt
  2. 0 0
      test/test.cpp
  3. 0 38
      test/test.hpp

+ 1 - 1
test/CMakeLists.txt

@@ -1,6 +1,6 @@
 function(glmCreateTestGTC NAME)
 	set(SAMPLE_NAME test-${NAME})
-	add_executable(${SAMPLE_NAME} ${NAME}.cpp ../test.hpp ../test.cpp)
+	add_executable(${SAMPLE_NAME} ${NAME}.cpp)
 
 	add_test( 
 	    NAME ${SAMPLE_NAME}

+ 0 - 0
test/test.cpp


+ 0 - 38
test/test.hpp

@@ -1,38 +0,0 @@
-#ifndef glm_test_included
-#define glm_test_included
-
-#include <string>
-
-namespace glm{
-namespace test
-{
-	class test
-	{
-		enum result
-		{
-			PASSED,
-			FAILED,
-			ASSERT,
-			STATIC,
-			MAX
-		};
-
-	public:
-		test(std::string const & Name, std::size_t const & Count);
-		result & operator[](std::size_t const & Index);
-		result const & operator[](std::size_t const & Index) const;
-
-		static int get(result const Result) const;
-		static void log(test const & Test);
-
-	protected:
-		std::string Name;
-		std::vertor<result> Tests;
-
-		static test Result[MAX];
-	};
-
-}//namespace test
-}//namespace glm
-
-#endif//glm_test_included