diff options
author | nick_m <mainsbridge@gmail.com> | 2016-06-25 01:37:48 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-06-25 01:37:48 +1000 |
commit | cde951f30f7b80a255b598a523c456e243b66bcb (patch) | |
tree | c6a9d87f4571a9871c0c3b17fb0bf629b16d42af /libs/ardour/test/tempo_test.cc | |
parent | a8fa5e9158f78e8d10aacdb1988b8409b1a831d7 (diff) |
Fix counting thinko in tests.
- note that the negative framepos in
FrameposPlusBeatsTest::singleTempoTest() will
not pass. needs some thougt as to whether it is testing
the correct thing.
Diffstat (limited to 'libs/ardour/test/tempo_test.cc')
-rw-r--r-- | libs/ardour/test/tempo_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/test/tempo_test.cc b/libs/ardour/test/tempo_test.cc index 6caa48648f..d7c5724d30 100644 --- a/libs/ardour/test/tempo_test.cc +++ b/libs/ardour/test/tempo_test.cc @@ -29,7 +29,7 @@ TempoTest::recomputeMapTest () 120bpm 240bpm 0 beats 12 beats 0 frames 288e3 frames - 0 pulses 4 pulses + 0 pulses 3 pulses | | | | | | 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 | @@ -38,7 +38,7 @@ TempoTest::recomputeMapTest () Tempo tempoA (120); map.add_tempo (tempoA, 0.0, 0, TempoSection::Constant, AudioTime); Tempo tempoB (240); - map.add_tempo (tempoB, 4.0, 0, TempoSection::Constant, MusicTime); + map.add_tempo (tempoB, 3.0, 0, TempoSection::Constant, MusicTime); Meter meterB (3, 4); map.add_meter (meterB, 12.0, BBT_Time (4, 1, 0), 0, MusicTime); |