221 const int interpolationDegree = 1;
222 const int valuesSize = 3;
223 Eigen::VectorXd value(valuesSize);
224 Waveform waveform(interpolationDegree);
230 BOOST_TEST(fixture.
valuesSize(waveform) == valuesSize);
233 for (
int i = 0; i < valuesSize; i++) {
244 for (
int i = 0; i < valuesSize; i++) {
253 for (
int i = 0; i < valuesSize; i++) {
259 Eigen::VectorXd value0 = value;
263 for (
int i = 0; i < valuesSize; i++) {
441 const int interpolationDegree = 3;
442 const int valuesSize = 1;
443 Waveform waveform(interpolationDegree);
446 Eigen::VectorXd value(valuesSize);
452 BOOST_TEST(fixture.
valuesSize(waveform) == valuesSize);
473 for (
double t :
std::vector<double>{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0}) {
481 value(0) = t * t * t;
491 for (
double t :
std::vector<double>{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0}) {
499 value(0) = t * t * t;
509 for (
double t :
std::vector<double>{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0}) {
517 value(0) = t * t * t * t;
527 for (
double t :
std::vector<double>{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0}) {
528 double tol = 0.015625;
boost::test_tools::predicate_result equals(const std::vector< float > &VectorA, const std::vector< float > &VectorB, float tolerance)
equals to be used in tests. Compares two std::vectors using a given tolerance. Prints both operands o...