armstrip, armbus, armedbus

- armstrip, armbus -> boolarraymembers
- armedbus

prelim tests pass for potato
This commit is contained in:
pblivingston
2025-12-02 12:23:06 -05:00
parent f40e0afb0d
commit 9209bbbc65
2 changed files with 51 additions and 4 deletions

View File

@@ -160,6 +160,20 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
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 }
) {
$vmr.recorder.armstrip[$index].set($value)
$vmr.recorder.armstrip[$index].get() | Should -Be $value
}
It 'Should set and get Recorder.armbus[i]' -ForEach @(
@{ Index = $phys_out }, @{ Index = $virt_out }
) {
$vmr.recorder.armbus[$index].set($value)
$vmr.recorder.armbus[$index].get() | Should -Be $value
}
}
Context 'Command' {
@@ -603,6 +617,15 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
}
}
}
Context 'Recorder' -Skip:$ifBasic {
It 'Should set and get Recorder.armedbus' -ForEach @(
@{ Value = $phys_out }, @{ Value = $virt_out }
) {
$vmr.recorder.armedbus = $value
$vmr.recorder.armedbus | Should -Be $value
}
}
}
Describe 'String Tests' -Tag 'string' {