Meter meter(4.0, 4.0);
map.add_meter (meter, BBT_Time(1, 1, 0));
-
- // Test basic operations with a flat tempo map
- BBT_Time time = map.bbt_add(BBT_Time(1, 1, 0), BBT_Time(1, 2, 3));
- //cout << "result: BBT_Time(" << time.bars << ", " << time.beats << ", "
- // << time.ticks << ")" << endl;
- CPPUNIT_ASSERT(time == BBT_Time(2, 3, 3));
-
-
- time = map.bbt_add(BBT_Time(1, 2, 3), BBT_Time(2, 2, 3));
- //cerr << "result: BBT_Time(" << time.bars << ", " << time.beats << ", "
- // << time.ticks << ")" << endl;
- CPPUNIT_ASSERT(time == BBT_Time(3, 4, 6));
+
+ /* add some good stuff here */
}
void