Skip to content

Commit 08e5956

Browse files
committed
Removed temporary unit test
1 parent f6fd3b6 commit 08e5956

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

Tests/MIDIKitSMFTests/MIDIKitSMFTests.swift

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,6 @@ import XCTest
1111

1212
final class MIDIKitSMFTests: XCTestCase {
1313
// 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-
}
3114
}
3215

3316
#endif

0 commit comments

Comments
 (0)