Mercurial > hg > may
changeset 600:956074cc1f7c tip
Fix some tests, update subrepo
author | Chris Cannam |
---|---|
date | Fri, 15 May 2020 11:36:02 +0100 |
parents | dc3632590d01 |
children | |
files | .hgsubstate src/may/stream/test/test_waves.yeti src/may/vamp/test/test_vamp.yeti |
diffstat | 3 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgsubstate Wed Jan 18 16:21:04 2017 +0000 +++ b/.hgsubstate Fri May 15 11:36:02 2020 +0100 @@ -1,1 +1,1 @@ -6a8eec962ffaafbcf3945a29d6985bcaac36671a ext +6ec6161376308ba8690f1d802d6b888a6dcf040b ext
--- a/src/may/stream/test/test_waves.yeti Wed Jan 18 16:21:04 2017 +0000 +++ b/src/may/stream/test/test_waves.yeti Fri May 15 11:36:02 2020 +0100 @@ -52,13 +52,14 @@ compareApprox epsilon (vec.list (mat.getRow 0 (str.read 11))) [ 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0 ] and compare str.position 11 ), - +/* "impulseTrain-bandlimited": \( // 3 pulses a second sampled 10 times a second str = wav.impulseTrain 100 3; x = mat.getRow 0 (str.read 200); false; //!!! todo +*/ /* compare str.position 0 and compare str.channels 1 and @@ -69,7 +70,7 @@ [ 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0 ] and compare str.position 14 */ -), +//), "cycleLengthFor": \( compare (wav.cycleLengthFor 48000 1000) 48 and
--- a/src/may/vamp/test/test_vamp.yeti Wed Jan 18 16:21:04 2017 +0000 +++ b/src/may/vamp/test/test_vamp.yeti Fri May 15 11:36:02 2020 +0100 @@ -31,7 +31,7 @@ "version": \( case v.loadPlugin rate testPluginKey of Error e: (eprintln "version: Error: \(e)"; false); - OK plugin: compare plugin.version 4; + OK plugin: compare plugin.version 5; esac ),