Skip to content

Commit

Permalink
Merge pull request #4232 from Holzhaus/loopingcontroltest-wrong-expect
Browse files Browse the repository at this point in the history
LoopingControlTest: Fix wrong usage of FramePos for beatloop size CO
  • Loading branch information
uklotzde committed Aug 19, 2021
2 parents 0774a04 + bdc9c37 commit 0efa809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/looping_control_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ TEST_F(LoopingControlTest, LoopInOutButtons_QuantizeEnabled) {
EXPECT_FRAMEPOS_EQ(kTrackEndPosition * m_pPlayPosition->get(),
mixxx::audio::FramePos{(44100 * 4) + 250});

EXPECT_FRAMEPOS_EQ_CONTROL(mixxx::audio::FramePos{2}, m_pBeatLoopSize);
EXPECT_EQ(4, m_pBeatLoopSize->get());
EXPECT_TRUE(m_pBeatLoop4Enabled->toBool());

// Check that beatloop_4_enabled is reset to 0 when changing the loop size.
Expand Down

0 comments on commit 0efa809

Please sign in to comment.