25 #ifndef WDATASETFIBERVECTOR_TEST_H
26 #define WDATASETFIBERVECTOR_TEST_H
31 #include <cxxtest/TestSuite.h>
33 #include "../../common/math/linearAlgebra/WPosition.h"
34 #include "../WDataSetFiberVector.h"
48 m_somefibs = std::shared_ptr< vector< WFiber > >(
new vector< WFiber > );
49 vector< WPosition > points;
50 points.push_back(
WPosition( 0., 0., 1. ) );
52 points.push_back(
WPosition( 0., 0., 2. ) );
54 points.push_back(
WPosition( 0., 0., 3. ) );
63 std::vector< WPosition > points;
64 points.push_back(
WPosition( 0., 0., 1. ) );
65 points.push_back(
WPosition( 0., 0., 2. ) );
66 points.push_back(
WPosition( 0., 0., 3. ) );
69 TS_ASSERT_EQUALS( d[2], expected );
Unit tests our fiber dataset class.
std::shared_ptr< std::vector< WFiber > > m_somefibs
Default fiber dataset.
void testBasicAccessAndCreation(void)
With a vector of WFiber a valid DataSetFibers should be possible.
void setUp(void)
Generates the test evironment.
Represents a simple set of WFibers.
Represents a neural pathway.
This only is a 3d double vector.