def test_get_user_bound():
info = {"tshift_acceptance_level": 3, "tshift_reference": 0,
"dlna_acceptance_level": 0.8, "dlna_reference": 0.0}
v = fw.get_user_bound(info)
npt.assert_array_almost_equal(v, [-3, 3, -0.8, 0.8])
info = {"tshift_acceptance_level": 10, "tshift_reference": -1,
"dlna_acceptance_level": 0.6, "dlna_reference": 0.2}
v = fw.get_user_bound(info)
npt.assert_array_almost_equal(v, [-11, 9, -0.4, 0.8])
test_filter_windows.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录