string param lower test added

This commit is contained in:
onyx-and-iris 2023-07-18 19:35:53 +01:00
parent d5f1dd7814
commit a87e626ff1

View File

@ -5,11 +5,16 @@ class SetGetParamTest < Minitest::Test
Test.vm.set("Fx.Reverb.On", 1) Test.vm.set("Fx.Reverb.On", 1)
assert_equal(1, Test.vm.get("Fx.Reverb.On")) assert_equal(1, Test.vm.get("Fx.Reverb.On"))
end end
def test_it_sets_and_gets_string_parameter
Test.vm.set("Strip[0].Label", "strip0name")
assert_equal("strip0name", Test.vm.get("Strip[0].Label", true))
end
end end
class SetGetButtonTest < Minitest::Test class SetGetButtonTest < Minitest::Test
def test_it_sets_and_gets_macrobutton_parameter def test_it_sets_and_gets_macrobutton_parameter
Test.vm.set_buttonstatus(0, 3, 1) # button0, trigger, true Test.vm.set_buttonstatus(0, 3, 1) # button[0], trigger, true
assert_equal(1, Test.vm.get_buttonstatus(0, 3)) assert_equal(1, Test.vm.get_buttonstatus(0, 3))
end end
end end