13
0
livetrax/libs/evoral/test/CurveTest.h
Paul Davis 39ed528e25 std-ize: convert all boost shared/weak ptr includes to <memory>
Also fix stdint.h -> cstdint and alphabetically order std includes
2023-03-24 14:19:15 -06:00

36 lines
900 B
C++

#include <memory>
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include "evoral/ControlList.h"
class CurveTest : public CppUnit::TestFixture
{
CPPUNIT_TEST_SUITE (CurveTest);
CPPUNIT_TEST (trivial);
CPPUNIT_TEST (rtGet);
CPPUNIT_TEST (twoPointLinear);
CPPUNIT_TEST (threePointLinear);
CPPUNIT_TEST (threePointDiscete);
CPPUNIT_TEST (constrainedCubic);
CPPUNIT_TEST (ctrlListEval);
CPPUNIT_TEST_SUITE_END ();
public:
void trivial ();
void rtGet ();
void twoPointLinear ();
void threePointLinear ();
void threePointDiscete ();
void constrainedCubic ();
void ctrlListEval ();
private:
boost::shared_ptr<Evoral::ControlList> TestCtrlList() {
Evoral::Parameter param (Evoral::Parameter(0));
const Evoral::ParameterDescriptor desc;
return boost::shared_ptr<Evoral::ControlList> (new Evoral::ControlList(param, desc, Temporal::AudioTime));
}
};