-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTriangulationTestCaseGenerator.cpp
73 lines (54 loc) · 1.47 KB
/
TriangulationTestCaseGenerator.cpp
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//
// Created by rkindela on 08-04-19.
//
#include "TriangulationTestCaseGenerator.h"
TriangulationTestCaseGenerator::TriangulationTestCaseGenerator(const std::string& file_name, int trialsCount, int _maxPointCount, int maxvalue)
:TestCaseGenerator(file_name, trialsCount, _maxPointCount, maxvalue)
{
}
void TriangulationTestCaseGenerator::testALL()
{
if (maxPointCount >= 214748364) // for avoid int overload
maxPointCount = 21474836;
string _filename = currentDirectory() + "/pmtool/Docs/triangulation_" + filename;
resultfile = ofstream(_filename);
resultfile<<"*******************************\n * Fichero de Resultados de Pruebas \n*******************************\n";
resultfile<<"\n Seccion de pruebas del codigo \n";
testCopyTriangulation();
testDestructionTriangulation();
testBuildFromPointCloud();
testAddPoint();
testInitData();
testLegalizeEdges();
testClone();
resultfile.flush();
resultfile.close();
}
void TriangulationTestCaseGenerator::testCopyTriangulation()
{
//Todo
}
void TriangulationTestCaseGenerator::testDestructionTriangulation()
{
//Todo
}
void TriangulationTestCaseGenerator::testBuildFromPointCloud()
{
//Todo
}
void TriangulationTestCaseGenerator::testAddPoint()
{
//Todo
}
void TriangulationTestCaseGenerator::testInitData()
{
//Todo
}
void TriangulationTestCaseGenerator::testLegalizeEdges()
{
//Todo
}
void TriangulationTestCaseGenerator::testClone()
{
//Todo
}