Added an empty test file for the optimization stuff

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402269
This commit is contained in:
Davis King 2008-05-25 19:49:02 +00:00
parent 0a76da7909
commit 012a2d5eaf
3 changed files with 58 additions and 0 deletions

View File

@ -42,6 +42,7 @@ set (tests
member_function_pointer.cpp
metaprogramming.cpp
multithreaded_object.cpp
optimization.cpp
pipe.cpp
pixel.cpp
queue.cpp

View File

@ -56,6 +56,7 @@ SRC += md5.cpp
SRC += member_function_pointer.cpp
SRC += metaprogramming.cpp
SRC += multithreaded_object.cpp
SRC += optimization.cpp
SRC += pipe.cpp
SRC += pixel.cpp
SRC += queue.cpp

View File

@ -0,0 +1,56 @@
// Copyright (C) 2008 Davis E. King (davisking@users.sourceforge.net)
// License: Boost Software License See LICENSE.txt for the full license.
#include <dlib/optimization.h>
#include <sstream>
#include <string>
#include <cstdlib>
#include <ctime>
#include <vector>
#include "../stl_checked.h"
#include "../array.h"
#include "tester.h"
namespace
{
using namespace test;
using namespace dlib;
using namespace std;
logger dlog("test.optimization");
void optimization_test (
)
/*!
ensures
- runs tests on the optimization stuff compliance with the specs
!*/
{
}
class optimization_tester : public tester
{
public:
optimization_tester (
) :
tester ("test_optimization",
"Runs tests on the optimization component.")
{}
void perform_test (
)
{
optimization_test();
}
} a;
}