Mercurial > hg > vampy-host
comparison test_plugin_metadata.py @ 36:20a9fcbc2f5f
More on tests, remove debug output
author | Chris Cannam |
---|---|
date | Wed, 26 Nov 2014 13:52:15 +0000 |
parents | |
children | 13dcfe8c7ed7 |
comparison
equal
deleted
inserted
replaced
35:24eedd23a812 | 36:20a9fcbc2f5f |
---|---|
1 | |
2 import vampyhost as vh | |
3 | |
4 testPluginKey = "vamp-test-plugin:vamp-test-plugin" | |
5 | |
6 rate = 44100 | |
7 | |
8 def test_inputdomain(): | |
9 plug = vh.loadPlugin(testPluginKey, rate) | |
10 assert(plug.inputDomain == vh.TimeDomain) | |
11 | |
12 def test_info(): | |
13 plug = vh.loadPlugin(testPluginKey, rate) | |
14 assert(plug.info["identifier"] == "vamp-test-plugin") | |
15 | |
16 def test_parameterdescriptors(): | |
17 plug = vh.loadPlugin(testPluginKey, rate) | |
18 assert(plug.parameters[0]["identifier"] == "produce_output") | |
19 | |
20 |