We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6fd3b6 commit 08e5956Copy full SHA for 08e5956
Tests/MIDIKitSMFTests/MIDIKitSMFTests.swift
@@ -11,23 +11,6 @@ import XCTest
11
12
final class MIDIKitSMFTests: XCTestCase {
13
// no tests in root class
14
-
15
- @available(macOS 13.0, *)
16
- func testRead() throws {
17
- let url = URL.homeDirectory.appending(path: "Downloads").appending(path: "ItDoesntMatter.mid")
18
- let midiFile = try MIDIFile(midiFile: url)
19
20
- let previewContents = midiFile.description
21
22
- print(previewContents)
23
24
- let newFile = MIDIFile(format: midiFile.format,
25
- timeBase: midiFile.timeBase,
26
- chunks: [.track(midiFile.tracks.first!)])
27
- let d = try newFile.rawData()
28
- let outurl = URL.homeDirectory.appending(path: "Downloads").appending(path: "test.mid")
29
- try d.write(to: outurl)
30
- }
31
}
32
33
#endif
0 commit comments