Commit 012a2d5e authored by Davis King's avatar Davis King

Added an empty test file for the optimization stuff

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402269
parent 0a76da79
......@@ -42,6 +42,7 @@ set (tests
member_function_pointer.cpp
metaprogramming.cpp
multithreaded_object.cpp
optimization.cpp
pipe.cpp
pixel.cpp
queue.cpp
......
......@@ -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
......
// 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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment