summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-02-14 08:51:38 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-02-14 08:51:38 +0100
commit9957a7c1f29c842f31ba7adb2506df021f13388a (patch)
tree5746c47a214e1dd16196ffffe14868fe5216302f /bin
parent7c26be2cad657e9a08e229bb541a7d926079f6a9 (diff)
proper paramfuncton support (no crossvalidation yet for assessment)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/test.py b/bin/test.py
index 7a45ca9..021b957 100755
--- a/bin/test.py
+++ b/bin/test.py
@@ -225,5 +225,8 @@ class TestStaticModel(unittest.TestCase):
self.assertEqual(param_info('SYNTH_ON', 'power'), None)
self.assertEqual(param_info('XOFF', 'power'), None)
+ self.assertAlmostEqual(param_info('RX', 'power')['function']._regression_args[0], 84415, places=0)
+ self.assertAlmostEqual(param_info('RX', 'power')['function']._regression_args[1], 206, places=0)
+
if __name__ == '__main__':
unittest.main()