forked from AudioKit/AudioKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAKAutoWahTests.swift
39 lines (31 loc) · 917 Bytes
/
AKAutoWahTests.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
//
// AKAutoWahTests.swift
// AudioKitTestSuite
//
// Created by Aurelius Prochazka, revision history on GitHub.
// Copyright © 2018 AudioKit. All rights reserved.
//
import AudioKit
import XCTest
class AKAutoWahTests: AKTestCase {
func testAmplitude() {
output = AKAutoWah(input, wah: 0.123, amplitude: 0.789)
AKTestMD5("786f65133d587399be35aa789e287815")
}
func testDefault() {
output = AKAutoWah(input)
AKTestNoEffect()
}
func testMix() {
output = AKAutoWah(input, wah: 0.123, mix: 0.456)
AKTestMD5("564135c992b22da1afc7115d5efd2831")
}
func testParamters() {
output = AKAutoWah(input, wah: 0.123, mix: 0.456, amplitude: 0.789)
AKTestMD5("7c9b38d3ff498b7f707644f85b18e60c")
}
func testWah() {
output = AKAutoWah(input, wah: 0.123)
AKTestMD5("221729db45a1088330ea7ffffd466780")
}
}