mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-09 17:33:33 +00:00
remove loop, cleanup
- removed deprecated recorder.loop - placed methods before hidden properties for readability - added a couple mode tests for good measure
This commit is contained in:
@@ -157,10 +157,6 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
|
||||
$vmr.recorder.B1 | Should -Be $expected
|
||||
}
|
||||
|
||||
It 'Should set and get Recorder.loop' {
|
||||
$vmr.recorder.loop = $value
|
||||
}
|
||||
|
||||
It 'Should set and get Recorder.armstrip[i]' -ForEach @(
|
||||
@{ Index = $phys_in }, @{ Index = $virt_in }
|
||||
) {
|
||||
@@ -174,6 +170,18 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
|
||||
$vmr.recorder.armbus[$index].set($value)
|
||||
$vmr.recorder.armbus[$index].get() | Should -Be $value
|
||||
}
|
||||
|
||||
Context 'Mode' {
|
||||
It 'Should set and get Recorder.mode.multitrack' {
|
||||
$vmr.recorder.mode.multitrack = $value
|
||||
$vmr.recorder.mode.multitrack | Should -Be $expected
|
||||
}
|
||||
|
||||
It 'Should set and get Recorder.mode.loop' {
|
||||
$vmr.recorder.mode.loop = $value
|
||||
$vmr.recorder.mode.loop | Should -Be $expected
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Context 'Command' {
|
||||
|
||||
Reference in New Issue
Block a user