mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 13:20:47 +00:00
Update higher.Tests.ps1
add vban.outstream.on tests. fix toggle vban.instream.on tests
This commit is contained in:
parent
dd425f6430
commit
0e756871e1
@ -651,8 +651,8 @@ Describe -Tag 'higher', -TestName 'All Alias Tests' {
|
|||||||
}
|
}
|
||||||
|
|
||||||
It 'Should set vban.instream[0].on to 0' {
|
It 'Should set vban.instream[0].on to 0' {
|
||||||
$vmr.vban.instream[0].on = $true
|
$vmr.vban.instream[0].on = $false
|
||||||
$vmr.vban.instream[0].on | Should -Be $true
|
$vmr.vban.instream[0].on | Should -Be $false
|
||||||
}
|
}
|
||||||
|
|
||||||
It 'Should set vban.instream[1].on to 1' {
|
It 'Should set vban.instream[1].on to 1' {
|
||||||
@ -661,8 +661,8 @@ Describe -Tag 'higher', -TestName 'All Alias Tests' {
|
|||||||
}
|
}
|
||||||
|
|
||||||
It 'Should set vban.instream[1].on to 0' {
|
It 'Should set vban.instream[1].on to 0' {
|
||||||
$vmr.vban.instream[1].on = $true
|
$vmr.vban.instream[1].on = $false
|
||||||
$vmr.vban.instream[1].on | Should -Be $true
|
$vmr.vban.instream[1].on | Should -Be $false
|
||||||
}
|
}
|
||||||
|
|
||||||
It 'Should set vban.instream[2].on to 1' {
|
It 'Should set vban.instream[2].on to 1' {
|
||||||
@ -671,8 +671,8 @@ Describe -Tag 'higher', -TestName 'All Alias Tests' {
|
|||||||
}
|
}
|
||||||
|
|
||||||
It 'Should set vban.instream[2].on to 0' {
|
It 'Should set vban.instream[2].on to 0' {
|
||||||
$vmr.vban.instream[2].on = $true
|
$vmr.vban.instream[2].on = $false
|
||||||
$vmr.vban.instream[2].on | Should -Be $true
|
$vmr.vban.instream[2].on | Should -Be $false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -740,6 +740,38 @@ Describe -Tag 'higher', -TestName 'All Alias Tests' {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Context 'vban.outstream[i].on' {
|
||||||
|
It 'Should set vban.outstream[0].on to 1' {
|
||||||
|
$vmr.vban.outstream[0].on = $true
|
||||||
|
$vmr.vban.outstream[0].on | Should -Be $true
|
||||||
|
}
|
||||||
|
|
||||||
|
It 'Should set vban.outstream[0].on to 0' {
|
||||||
|
$vmr.vban.outstream[0].on = $false
|
||||||
|
$vmr.vban.outstream[0].on | Should -Be $false
|
||||||
|
}
|
||||||
|
|
||||||
|
It 'Should set vban.outstream[1].on to 1' {
|
||||||
|
$vmr.vban.outstream[1].on = $true
|
||||||
|
$vmr.vban.outstream[1].on | Should -Be $true
|
||||||
|
}
|
||||||
|
|
||||||
|
It 'Should set vban.outstream[1].on to 0' {
|
||||||
|
$vmr.vban.outstream[1].on = $false
|
||||||
|
$vmr.vban.outstream[1].on | Should -Be $false
|
||||||
|
}
|
||||||
|
|
||||||
|
It 'Should set vban.outstream[2].on to 1' {
|
||||||
|
$vmr.vban.outstream[2].on = $true
|
||||||
|
$vmr.vban.outstream[2].on | Should -Be $true
|
||||||
|
}
|
||||||
|
|
||||||
|
It 'Should set vban.outstream[2].on to 0' {
|
||||||
|
$vmr.vban.outstream[2].on = $false
|
||||||
|
$vmr.vban.outstream[2].on | Should -Be $false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Context 'vban.outstream[i].sr' {
|
Context 'vban.outstream[i].sr' {
|
||||||
It 'Should set vban.outstream[0].sr to 44100' {
|
It 'Should set vban.outstream[0].sr to 44100' {
|
||||||
$vmr.vban.outstream[0].sr = 44100
|
$vmr.vban.outstream[0].sr = 44100
|
||||||
|
Loading…
Reference in New Issue
Block a user