temporal: add skeleton for Timeline (timepos_t/timecnt_t) tests
This commit is contained in:
parent
baaf332a94
commit
c5d7883538
40
libs/temporal/test/TimelineTest.cc
Normal file
40
libs/temporal/test/TimelineTest.cc
Normal file
@ -0,0 +1,40 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "temporal/bbt_time.h"
|
||||
|
||||
#include "TimelineTest.h"
|
||||
|
||||
CPPUNIT_TEST_SUITE_REGISTRATION(TimelineTest);
|
||||
|
||||
using namespace Temporal;
|
||||
|
||||
void
|
||||
TimelineTest::createTest()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
TimelineTest::addTest()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
TimelineTest::subtractTest()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
TimelineTest::multiplyTest()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
TimelineTest::roundTest()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
TimelineTest::convertTest()
|
||||
{
|
||||
}
|
||||
|
22
libs/temporal/test/TimelineTest.h
Normal file
22
libs/temporal/test/TimelineTest.h
Normal file
@ -0,0 +1,22 @@
|
||||
#include <cppunit/TestFixture.h>
|
||||
#include <cppunit/extensions/HelperMacros.h>
|
||||
|
||||
class TimelineTest : public CppUnit::TestFixture
|
||||
{
|
||||
CPPUNIT_TEST_SUITE(TimelineTest);
|
||||
CPPUNIT_TEST(createTest);
|
||||
CPPUNIT_TEST(addTest);
|
||||
CPPUNIT_TEST(subtractTest);
|
||||
CPPUNIT_TEST(multiplyTest);
|
||||
CPPUNIT_TEST(convertTest);
|
||||
CPPUNIT_TEST(roundTest);
|
||||
CPPUNIT_TEST_SUITE_END();
|
||||
|
||||
public:
|
||||
void createTest();
|
||||
void addTest();
|
||||
void subtractTest();
|
||||
void multiplyTest();
|
||||
void convertTest();
|
||||
void roundTest();
|
||||
};
|
@ -87,6 +87,7 @@ def build(bld):
|
||||
test/BeatTest.cc
|
||||
test/BBTTest.cc
|
||||
test/TempoMapTest.cc
|
||||
test/TimelineTest.cc
|
||||
test/testrunner.cc
|
||||
'''
|
||||
obj.includes = ['.']
|
||||
|
Loading…
Reference in New Issue
Block a user