Skip to content

Commit

Permalink
Match Lancelot and OpenKey notation case sensitive to avoid ambitious…
Browse files Browse the repository at this point in the history
… conditions

Like 8D which can be "Db Dur" or "D dorian"
  • Loading branch information
daschuer committed Apr 9, 2023
1 parent 36f1c1e commit 76cc59e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/keyutilstest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ TEST_F(KeyUtilsTest, KeyNameNotation) {
KeyUtils::guessKeyFromText("Ab -50cents"));
EXPECT_EQ(mixxx::track::io::key::A_FLAT_MAJOR, // ionian
KeyUtils::guessKeyFromText("04B -50cents"));
EXPECT_EQ(mixxx::track::io::key::A_FLAT_MAJOR, // ionian
KeyUtils::guessKeyFromText(" 4b -50 cents "));
// Mixxx does not allow this but Rapid Evolution
// EXPECT_EQ(mixxx::track::io::key::A_FLAT_MAJOR, // ionian
// KeyUtils::guessKeyFromText(" 4b -50 cents "));
// EXPECT_EQ(mixxx::track::io::key::A_FLAT_MAJOR, // ionian
// KeyUtils::guessKeyFromText(" g # - 50 cents "));
// EXPECT_EQ(mixxx::track::io::key::A_FLAT_MAJOR, // ionian
// KeyUtils::guessKeyFromText(" g # + 50 cents "));
Expand Down

0 comments on commit 76cc59e

Please sign in to comment.