mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-18 13:33:31 +00:00
tests
pester tests pass
This commit is contained in:
@@ -110,6 +110,23 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
|
||||
$vmr.command.lock = $value
|
||||
}
|
||||
}
|
||||
|
||||
Context 'Patch' {
|
||||
It 'Should set and get Patch.insert[$insert]' -Skip:$ifBasic {
|
||||
$vmr.patch.insert[$insert].set($value)
|
||||
$vmr.patch.insert[$insert].get() | Should -Be $value
|
||||
}
|
||||
|
||||
It 'Should set and get Patch.postfadercomposite' -Skip:$ifBasic {
|
||||
$vmr.patch.postfadercomposite = $value
|
||||
$vmr.patch.postfadercomposite | Should -Be $value
|
||||
}
|
||||
|
||||
It 'Should set and get Patch.postfxinsert' -Skip:$ifBasic {
|
||||
$vmr.patch.postfxinsert = $value
|
||||
$vmr.patch.postfxinsert | Should -Be $value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Float Tests' {
|
||||
@@ -241,6 +258,15 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Context 'Patch' {
|
||||
It 'Should set and get Patch.composite[$composite]' -Skip:$ifBasic -ForEach @(
|
||||
@{ Value = 22 }, @{ Value = 6 }
|
||||
) {
|
||||
$vmr.patch.composite[$composite].set($value)
|
||||
$vmr.patch.composite[$composite].get() | Should -Be $value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'String Tests' {
|
||||
|
||||
Reference in New Issue
Block a user