forked from libfann/fann
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fann_test_data.h
34 lines (24 loc) · 944 Bytes
/
fann_test_data.h
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
27
28
29
30
31
32
33
34
#ifndef FANN_FANN_TEST_DATA_H
#define FANN_FANN_TEST_DATA_H
#include "gtest/gtest.h"
#include "doublefann.h"
#include "fann_cpp.h"
#include "fann_test.h"
class FannTestData : public FannTest {
protected:
unsigned int numData;
unsigned int numInput;
unsigned int numOutput;
fann_type inputValue;
fann_type outputValue;
fann_type **inputData;
fann_type **outputData;
virtual void SetUp();
virtual void TearDown();
void AssertTrainData(FANN::training_data &trainingData, unsigned int numData, unsigned int numInput,
unsigned int numOutput, fann_type inputValue, fann_type outputValue);
void InitializeTrainDataStructure(unsigned int numData, unsigned int numInput, unsigned int numOutput,
fann_type inputValue, fann_type outputValue, fann_type **inputData,
fann_type **outputData);
};
#endif