@@ -44,21 +44,21 @@ class ChordTests: XCTestCase {
44
44
let notes : [ Int8 ] = [ 60 , 64 , 66 , 71 ]
45
45
let pitchSet = PitchSet ( pitches: notes. map { Pitch ( $0) } )
46
46
let chord = Chord . getRankedChords ( from: pitchSet)
47
- XCTAssertEqual ( chord. map { $0. slashDescription } , [ " Cmaj7♭5 " ] )
47
+ XCTAssertEqual ( chord. map { $0. slashDescription } , [ " Cmaj7(♭5) " ] )
48
48
}
49
49
50
50
func testMajorNinthFlatFive( ) {
51
51
let notes : [ Int8 ] = [ 60 , 64 , 66 , 71 , 74 ]
52
52
let pitchSet = PitchSet ( pitches: notes. map { Pitch ( $0) } )
53
53
let chord = Chord . getRankedChords ( from: pitchSet)
54
- XCTAssertEqual ( chord. map { $0. slashDescription } , [ " Cmaj9♭5 " ] )
54
+ XCTAssertEqual ( chord. map { $0. slashDescription } , [ " Cmaj9(♭5) " ] )
55
55
}
56
56
57
57
func testMajorNinthSharpFive( ) {
58
58
let notes : [ Int8 ] = [ 60 , 64 , 68 , 71 , 74 ]
59
59
let pitchSet = PitchSet ( pitches: notes. map { Pitch ( $0) } )
60
60
let chord = Chord . getRankedChords ( from: pitchSet)
61
- XCTAssertEqual ( chord. map { $0. slashDescription } , [ " Cmaj9♯5 " ] )
61
+ XCTAssertEqual ( chord. map { $0. slashDescription } , [ " Cmaj9(♯5) " ] )
62
62
}
63
63
64
64
func testDominantNinthFlatFive( ) {
@@ -149,8 +149,8 @@ class ChordTests: XCTestCase {
149
149
let pitchSet = PitchSet ( pitches: notes. map { Pitch ( $0) } )
150
150
let chord = Chord . getRankedChords ( from: pitchSet)
151
151
let chord2 = Chord ( . C, type: . majorSeventhFlatFive)
152
- XCTAssertEqual ( chord2. slashDescription, " Cmaj7♭5 " )
153
- XCTAssertEqual ( chord. map { $0. slashDescription } , [ " Cmaj7♭5 " ] )
152
+ XCTAssertEqual ( chord2. slashDescription, " Cmaj7(♭5) " )
153
+ XCTAssertEqual ( chord. map { $0. slashDescription } , [ " Cmaj7(♭5) " ] )
154
154
}
155
155
156
156
func testAugmentedDiminishededChordsPreferNoInversions( ) {
0 commit comments