projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more MTC debugging
[ardour.git]
/
libs
/
ardour
/
test
/
BBTTest.cpp
diff --git
a/libs/ardour/test/BBTTest.cpp
b/libs/ardour/test/BBTTest.cpp
index ec32eaa81ece79113949c2e75f8bfd32148c89f3..5f5f18b629ed7d8df35bd7cd3877500405f697ba 100644
(file)
--- a/
libs/ardour/test/BBTTest.cpp
+++ b/
libs/ardour/test/BBTTest.cpp
@@
-11,6
+11,10
@@
void
BBTTest::addTest ()
{
TempoMap map(48000);
BBTTest::addTest ()
{
TempoMap map(48000);
+
+ // Test basic operations with a flat tempo map
+ CPPUNIT_ASSERT(map.bbt_add(BBT_Time(0, 0, 0), BBT_Time(1, 2, 3)) == BBT_Time(1, 2, 3));
+ CPPUNIT_ASSERT(map.bbt_add(BBT_Time(1, 2, 3), BBT_Time(0, 0, 0)) == BBT_Time(1, 2, 3));
}
void
}
void