#include #include #include #include "evoral/ControlList.hpp" class CurveTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE (CurveTest); CPPUNIT_TEST (twoPointLinear); CPPUNIT_TEST (threePointLinear); CPPUNIT_TEST (threePointDiscete); CPPUNIT_TEST (constrainedCubic); CPPUNIT_TEST (ctrlListEval); CPPUNIT_TEST_SUITE_END (); public: void twoPointLinear (); void threePointLinear (); void threePointDiscete (); void constrainedCubic (); void ctrlListEval (); private: boost::shared_ptr TestCtrlList() { Evoral::Parameter param (Evoral::Parameter(0)); const Evoral::ParameterDescriptor desc; return boost::shared_ptr (new Evoral::ControlList(param, desc)); } };