summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-06 20:28:40 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-06 20:28:40 +0000
commit16063123f3799d2bc06440a0288c170b2c408b5b (patch)
treec5c2fd6cfd33d8a87cd7e683df8195b029dffb42 /libs
parentfc2b1ab5006f11b185d5c609d85eeeff3c77178c (diff)
twiddle with one test explanation to help paul reason about it
git-svn-id: svn://localhost/ardour2/branches/3.0@11174 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/test/framewalk_to_beats_test.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/libs/ardour/test/framewalk_to_beats_test.cc b/libs/ardour/test/framewalk_to_beats_test.cc
index 849a246fa5..2385dd53c9 100644
--- a/libs/ardour/test/framewalk_to_beats_test.cc
+++ b/libs/ardour/test/framewalk_to_beats_test.cc
@@ -59,11 +59,13 @@ FramewalkToBeatsTest::doubleTempoTest ()
/*
- 120bpm 240bpm
- 0 beats 12 beats
- 0 frames 288e3 frames
- | | | | |
- | 1.1 1.2 1.3 1.4 | 2.1 2.2 2.3.2.4 | 3.1 3.2 3.3 3.4 | 4.1 4.2 4.3 4.4 |
+ 120bpm 240bpm
+ 0 beats 12 beats
+ 0 frames 288e3 frames
+ 24e3 frames per beat 12e3 frames per beat
+ | | | | |
+ 1.1 1.2 1.3 1.4 2.1 2.2 2.3 2.4 3.1 3.2 3.3 3.4 4.1 4.2 4.3 4.4 5.1
+ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
*/
@@ -85,7 +87,6 @@ FramewalkToBeatsTest::doubleTempoTest ()
/* Walk 2.5 beats from 3|3.5 to 4.2 (over the tempo change) */
r = map.framewalk_to_beats (264e3 - 12e3, (24e3 + 12e3 + 12e3));
CPPUNIT_ASSERT_EQUAL (2.5, r);
-
/* Walk 3 beats from 3|4.5 to 4|3.5 (over the tempo change) */
r = map.framewalk_to_beats (264e3 - 12e3, (24e3 + 12e3 + 12e3 + 6e3));
CPPUNIT_ASSERT_EQUAL (3.0, r);