Mercurial > hg > vampy-host
comparison test_plugin_metadata.py @ 39:13dcfe8c7ed7
Docs and tidying
author | Chris Cannam |
---|---|
date | Wed, 26 Nov 2014 15:23:56 +0000 |
parents | 20a9fcbc2f5f |
children | 36cc53aad853 |
comparison
equal
deleted
inserted
replaced
38:e881d77da368 | 39:13dcfe8c7ed7 |
---|---|
5 | 5 |
6 rate = 44100 | 6 rate = 44100 |
7 | 7 |
8 def test_inputdomain(): | 8 def test_inputdomain(): |
9 plug = vh.loadPlugin(testPluginKey, rate) | 9 plug = vh.loadPlugin(testPluginKey, rate) |
10 assert(plug.inputDomain == vh.TimeDomain) | 10 assert plug.inputDomain == vh.TimeDomain |
11 | 11 |
12 def test_info(): | 12 def test_info(): |
13 plug = vh.loadPlugin(testPluginKey, rate) | 13 plug = vh.loadPlugin(testPluginKey, rate) |
14 assert(plug.info["identifier"] == "vamp-test-plugin") | 14 assert plug.info["identifier"] == "vamp-test-plugin" |
15 | 15 |
16 def test_parameterdescriptors(): | 16 def test_parameterdescriptors(): |
17 plug = vh.loadPlugin(testPluginKey, rate) | 17 plug = vh.loadPlugin(testPluginKey, rate) |
18 assert(plug.parameters[0]["identifier"] == "produce_output") | 18 assert plug.parameters[0]["identifier"] == "produce_output" |
19 | 19 |
20 | 20 |