blob: 4be4c40fd6af293c9c6517d8867659d91b401472 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#define BOOST_TEST_MODULE WeightsTest
#include <boost/test/unit_test.hpp>
#include <boost/test/floating_point_comparison.hpp>
#include "weights.h"
using namespace std;
BOOST_AUTO_TEST_CASE(Load) {
vector<weight_t> v;
Weights::InitFromFile("test_data/weights", &v);
Weights::WriteToFile("-", v);
}
|