gainlayers

gainlayers are now FloatArrayMember objects - this is a breaking change

prelim pester tests for potato pass
This commit is contained in:
pblivingston
2025-12-08 14:49:15 -05:00
parent a5bade4fbb
commit ac3e36838e
6 changed files with 33 additions and 18 deletions

View File

@@ -286,6 +286,15 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
$vmr.strip[$index].limit = $gain
$vmr.strip[$index].limit | Should -Be $gain
}
Context 'Gainlayers' -Skip:$ifNotPotato -ForEach @(
@{ Layer = $phys_out }, @{ Layer = $virt_out }
) {
It "Should set Strip[$index].Gainlayer[$layer]" {
$vmr.strip[$index].gainlayer[$layer].set($gain)
$vmr.strip[$index].gainlayer[$layer].get() | Should -Be $gain
}
}
}
Context 'Strip, physical only' -ForEach @(