13
0

Guaranteed to be the most robust test, ever (*).

(* Offer void everywhere)


git-svn-id: svn://localhost/ardour2/branches/3.0@5954 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-10-28 15:33:06 +00:00
parent c71f419920
commit 5ec7afb734

View File

@ -11,6 +11,10 @@ void
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