mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
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:
parent
0a76da7909
commit
012a2d5eaf
@ -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
|
||||
|
56
dlib/test/optimization.cpp
Normal file
56
dlib/test/optimization.cpp
Normal 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;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user