strip3a1 added to higher tests

pdirty, mdirty added to readme
This commit is contained in:
onyx-and-iris
2022-07-01 00:01:56 +01:00
parent 18ece8a6b8
commit dd5abafa66
4 changed files with 35 additions and 10 deletions

View File

@@ -21,6 +21,21 @@ func TestStrip0Mute(t *testing.T) {
})
}
func TestStrip3A1(t *testing.T) {
//t.Skip("skipping test")
vmRem.Strip[3].SetA1(true)
sync()
t.Run("Should return true when SetA1(true)", func(t *testing.T) {
assert.True(t, vmRem.Strip[3].GetA1())
})
vmRem.Strip[3].SetA1(false)
sync()
t.Run("Should return false when SetA1(false)", func(t *testing.T) {
assert.False(t, vmRem.Strip[3].GetA1())
})
}
func TestStrip2Limit(t *testing.T) {
//t.Skip("skipping test")
vmRem.Strip[2].SetLimit(-8)