hide Convert, add mode.set

tests pass for all kinds
This commit is contained in:
pblivingston
2025-12-01 17:05:58 -05:00
parent ec05790312
commit 7eb82c41a2
2 changed files with 20 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
$vmr.bus[$index].sel | Should -Be $expected
}
It "Should set and get Bus[$index].mode.amix" -Skip:$ifBasic {
It "Should set and get Bus[$index].mode.amix" {
$vmr.bus[$index].mode.amix = $value
$vmr.bus[$index].mode.amix | Should -Be $expected
}
@@ -691,6 +691,15 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
$vmr.bus[$index].label | Should -Be $expected
}
It "Should set Bus[$index].Mode" -Skip:$ifBasic -ForEach @(
@{ Value = 'bmix'; Expected = 'bmix' }
@{ Value = 'upmix41'; Expected = 'upmix41' }
@{ Value = 'rearonly'; Expected = 'rearonly' }
) {
$vmr.bus[$index].mode.Set($value)
$vmr.bus[$index].mode.Get() | Should -Be $expected
}
Context 'EQ' -Skip:$ifBasic -ForEach @(
@{ Eq = $vmr.bus[$index].eq }
) {