Elements
5.10
A C++ base framework for the Euclid Software.
ElementsExamples
ElementsExamples
UnitTestExample.h
Go to the documentation of this file.
1
26
#ifndef ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_UNITTESTEXAMPLE_H_
27
#define ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_UNITTESTEXAMPLE_H_
28
29
#include <vector>
30
#include "
ElementsKernel/Export.h
"
31
32
namespace
Elements
{
33
namespace
Examples {
34
40
class
ELEMENTS_API
UnitTestExample
{
41
42
public
:
43
62
double
average(
const
std::vector<int>
& v);
63
64
};
65
66
}
// namespace Examples
67
}
// namespace Elements
68
69
#endif // ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_UNITTESTEXAMPLE_H_
70
Elements::Examples::UnitTestExample
This class has been created to demonstrate unit testing.
Definition:
UnitTestExample.h:40
Export.h
defines the macros to be used for explicit export of the symbols
std::vector
STL class.
ELEMENTS_API
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition:
Export.h:74
Elements
Definition:
ClassExample.h:38
Generated by
1.8.18