@@ -59,7 +59,7 @@ func TestStrip4Label(t *testing.T) {
59
59
})
60
60
}
61
61
62
- func TestStrip5Gain (t * testing.T ) {
62
+ func TestStrip4Gain (t * testing.T ) {
63
63
//t.Skip("skipping test")
64
64
vm .Strip [4 ].SetGain (- 20.8 )
65
65
t .Run ("Should return -20.8 when Strip[4].SetGain(-20.8)" , func (t * testing.T ) {
@@ -72,15 +72,15 @@ func TestStrip5Gain(t *testing.T) {
72
72
})
73
73
}
74
74
75
- func TestStrip3CompKnob (t * testing.T ) {
75
+ func TestStrip4CompKnob (t * testing.T ) {
76
76
//t.Skip("skipping test")
77
77
vm .Strip [4 ].Comp ().SetKnob (8.1 )
78
- t .Run ("Should return 8.1 when Strip[4].SetComp (8.1)" , func (t * testing.T ) {
78
+ t .Run ("Should return 8.1 when Strip[4].Comp().SetKnob (8.1)" , func (t * testing.T ) {
79
79
assert .Equal (t , vm .Strip [4 ].Comp ().Knob (), 8.1 )
80
80
})
81
81
82
82
vm .Strip [4 ].Comp ().SetKnob (1.6 )
83
- t .Run ("Should return 1.6 when Strip[4].SetComp (1.6)" , func (t * testing.T ) {
83
+ t .Run ("Should return 1.6 when Strip[4].Comp().SetKnob (1.6)" , func (t * testing.T ) {
84
84
assert .Equal (t , vm .Strip [4 ].Comp ().Knob (), 1.6 )
85
85
})
86
86
}
@@ -100,30 +100,43 @@ func TestStrip0CompGainIn(t *testing.T) {
100
100
101
101
func TestStrip3GateKnob (t * testing.T ) {
102
102
//t.Skip("skipping test")
103
- vm .Strip [4 ].Gate ().SetKnob (8.1 )
104
- t .Run ("Should return 8.1 when Strip[4].SetComp (8.1)" , func (t * testing.T ) {
105
- assert .Equal (t , vm .Strip [4 ].Gate ().Knob (), 8.1 )
103
+ vm .Strip [3 ].Gate ().SetKnob (8.1 )
104
+ t .Run ("Should return 8.1 when Strip[3].Gate().SetKnob (8.1)" , func (t * testing.T ) {
105
+ assert .Equal (t , vm .Strip [3 ].Gate ().Knob (), 8.1 )
106
106
})
107
107
108
- vm .Strip [4 ].Gate ().SetKnob (1.6 )
109
- t .Run ("Should return 1.6 when Strip[4].SetComp (1.6)" , func (t * testing.T ) {
110
- assert .Equal (t , vm .Strip [4 ].Gate ().Knob (), 1.6 )
108
+ vm .Strip [3 ].Gate ().SetKnob (1.6 )
109
+ t .Run ("Should return 1.6 when Strip[3].Gate().SetKnob (1.6)" , func (t * testing.T ) {
110
+ assert .Equal (t , vm .Strip [3 ].Gate ().Knob (), 1.6 )
111
111
})
112
112
}
113
113
114
- func TestStrip0GateAttack (t * testing.T ) {
114
+ func TestStrip0CompAttack (t * testing.T ) {
115
115
//t.Skip("skipping test")
116
116
vm .Strip [0 ].Comp ().SetAttack (3.4 )
117
117
t .Run ("Should return 3.4 when Strip[0].Comp().SetAttack(3.4)" , func (t * testing.T ) {
118
118
assert .Equal (t , vm .Strip [0 ].Comp ().Attack (), 3.4 )
119
119
})
120
120
121
121
vm .Strip [0 ].Comp ().SetAttack (190.3 )
122
- t .Run ("Should return -19 .3 when Strip[0].Comp().SetAttack(-19 .3)" , func (t * testing.T ) {
122
+ t .Run ("Should return 190 .3 when Strip[0].Comp().SetAttack(190 .3)" , func (t * testing.T ) {
123
123
assert .Equal (t , vm .Strip [0 ].Comp ().Attack (), 190.3 )
124
124
})
125
125
}
126
126
127
+ func TestStrip4Denoiser (t * testing.T ) {
128
+ //t.Skip("skipping test")
129
+ vm .Strip [4 ].Denoiser ().SetKnob (2.1 )
130
+ t .Run ("Should return 2.1 when Strip[4].Denoiser().SetKnob(2.1)" , func (t * testing.T ) {
131
+ assert .Equal (t , vm .Strip [4 ].Denoiser ().Knob (), 2.1 )
132
+ })
133
+
134
+ vm .Strip [4 ].Denoiser ().SetKnob (5.6 )
135
+ t .Run ("Should return 5.6 when Strip[4].Denoiser().SetKnob(5.6)" , func (t * testing.T ) {
136
+ assert .Equal (t , vm .Strip [4 ].Denoiser ().Knob (), 5.6 )
137
+ })
138
+ }
139
+
127
140
func TestStrip5Mc (t * testing.T ) {
128
141
//t.Skip("skipping test")
129
142
vm .Strip [5 ].SetMc (true )
0 commit comments