pester tests now support all kinds.

This commit is contained in:
onyx-and-iris
2022-10-27 21:20:51 +01:00
parent 62c65e1c08
commit f7c0e076aa
3 changed files with 73 additions and 46 deletions

View File

@@ -26,7 +26,7 @@ Describe -Tag 'lower', -TestName 'All Lower Tests' {
@{ Value = 0; Expected = 0 }
){
Context 'Strip, one physical one virtual' -ForEach @(
@{ Index = 0 }, @{ Index = 4 }
@{ Index = $phys_in }, @{ Index = $virt_in }
){
Context 'mute, mono, A1, B2' -ForEach @(
@{ param = "mute" }, @{ param = "A1" }
@@ -44,7 +44,7 @@ Describe -Tag 'lower', -TestName 'All Lower Tests' {
@{ Value = 'test1'; Expected = 'test1' }
){
Context 'Strip, one physical one virtual' -ForEach @(
@{ Index = 0 }, @{ Index = 4 }
@{ Index = $phys_in }, @{ Index = $virt_in }
){
It "Should set Strip[$index].Label to $value" {
Param_Set -PARAM "Strip[$index].Label" -VALUE $value