forked from AudioKit/AudioKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAKRhinoGuitarProcessorTests.swift
49 lines (39 loc) · 1.25 KB
/
AKRhinoGuitarProcessorTests.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//
// AKRhinoGuitarProcessorTests.swift
// iOSTestSuiteTests
//
// Created by Aurelius Prochazka on 3/30/18.
// Copyright © 2018 AudioKit. All rights reserved.
//
import AudioKit
import XCTest
class AKRhinoGuitarProcessorTests: AKTestCase {
func testDefault() {
output = AKRhinoGuitarProcessor(input)
AKTestMD5("5a0a09660ce124b9fc2d7bb7090fd630")
}
func testDistortion() {
output = AKRhinoGuitarProcessor(input, distortion: 3)
AKTestMD5("597bcc216f933f6b168e6013e0c52675")
}
func testHighGain() {
output = AKRhinoGuitarProcessor(input, highGain: 0.55)
AKTestMD5("87900b5fad7fcbe2729d5826d012fc3c")
}
func testLowGain() {
output = AKRhinoGuitarProcessor(input, lowGain: 0.66)
AKTestMD5("613e9723b684628fd11e9356e9dc90bb")
}
func testMidGain() {
output = AKRhinoGuitarProcessor(input, midGain: 0.44)
AKTestMD5("6ad619875029395035207487ac9b340b")
}
func testPostGain() {
output = AKRhinoGuitarProcessor(input, postGain: 2.2)
AKTestMD5("2936e5f03b9d864edc4f1fde4a6d078c")
}
func testPreGain() {
output = AKRhinoGuitarProcessor(input, preGain: 2.2)
AKTestMD5("906770d6b1463fafe8ea23e51e6c9050")
}
}