summaryrefslogtreecommitdiff
path: root/libs/ardour/test/bbt_test.cc
blob: ec5aea91caffbd0c943cf20fc1063c09811a0248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <cassert>
#include "ardour/tempo.h"
#include "bbt_test.h"

CPPUNIT_TEST_SUITE_REGISTRATION(BBTTest);

using namespace std;
using namespace ARDOUR;

using Timecode::BBT_Time;

void
BBTTest::addTest ()
{
	TempoMap map(48000);
	Tempo    tempo(120, 4.0);
	Meter    meter(4.0, 4.0);

	/* no need to supply the frame for a new music-locked meter */
	map.add_meter (meter, 4.0, BBT_Time(2, 1, 0), MusicTime);

	/* add some good stuff here */
}

void
BBTTest::subtractTest ()
{
}