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:
pblivingston
2025-12-03 03:31:30 -05:00
parent e42862c32d
commit ab4baa5c44
3 changed files with 48 additions and 75 deletions

View File

@@ -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' {