summaryrefslogtreecommitdiff
path: root/dtrain/tests.h
blob: 9853e3c326aa154070fe32544f35568ea4506a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _DTRAIN_TESTS_H_
#define _DTRAIN_TESTS_H_

#include <iomanip>
#include <boost/assign/std/vector.hpp>

#include "common.h"
#include "util.h"


namespace dtrain
{


double approx_equal( double x, double y );
void test_ngrams();
void test_metrics();
void test_SetWeights();
void run_tests();


} // namespace


#endif