Ardour  9.0-pre0-582-g084a23a80d
CurveTest.h
Go to the documentation of this file.
1 #include <memory>
2 
3 #include <cppunit/TestFixture.h>
4 #include <cppunit/extensions/HelperMacros.h>
5 
6 #include "evoral/ControlList.h"
7 
8 class CurveTest : public CppUnit::TestFixture
9 {
19 
20 public:
21  void trivial ();
22  void rtGet ();
23  void twoPointLinear ();
27  void ctrlListEval ();
28 
29 private:
30  std::shared_ptr<Evoral::ControlList> TestCtrlList() {
32  const Evoral::ParameterDescriptor desc;
33  return std::shared_ptr<Evoral::ControlList> (new Evoral::ControlList(param, desc, Temporal::TimeDomainProvider (Temporal::AudioTime)));
34  }
35 };
CPPUNIT_TEST(threePointDiscete)
CPPUNIT_TEST(twoPointLinear)
void threePointLinear()
void rtGet()
CPPUNIT_TEST(constrainedCubic)
std::shared_ptr< Evoral::ControlList > TestCtrlList()
Definition: CurveTest.h:30
CPPUNIT_TEST_SUITE_END()
void twoPointLinear()
void ctrlListEval()
void constrainedCubic()
CPPUNIT_TEST(trivial)
CPPUNIT_TEST(ctrlListEval)
void threePointDiscete()
CPPUNIT_TEST(threePointLinear)
CPPUNIT_TEST(rtGet)
void trivial()
CPPUNIT_TEST_SUITE(CurveTest)