add frame parameter for Meter ctor and TempoMap::replace_meter(). allow for various...
[ardour.git] / libs / ardour / test / bbt_test.cc
1 #include <cassert>
2 #include "ardour/tempo.h"
3 #include "bbt_test.h"
4
5 CPPUNIT_TEST_SUITE_REGISTRATION(BBTTest);
6
7 using namespace std;
8 using namespace ARDOUR;
9
10 using Timecode::BBT_Time;
11
12 void
13 BBTTest::addTest ()
14 {
15         TempoMap map(48000);
16         Tempo    tempo(120, 4.0);
17         Meter    meter(4.0, 4.0);
18
19         /* no need to supply the frame for a new music-locked meter */
20         map.add_meter (meter, 4.0, BBT_Time(2, 1, 0), 0, MusicTime);
21
22         /* add some good stuff here */
23 }
24
25 void
26 BBTTest::subtractTest ()
27 {
28 }