mirror of https://github.com/vladmandic/human
update tests
parent
15fbaa3877
commit
f271030965
|
@ -188,7 +188,7 @@ async function test(Human, inputConfig) {
|
||||||
else log('state', 'passed: warmup none result match');
|
else log('state', 'passed: warmup none result match');
|
||||||
config.warmup = 'face';
|
config.warmup = 'face';
|
||||||
res = await testWarmup(human, 'default');
|
res = await testWarmup(human, 'default');
|
||||||
if (!res || res?.face?.length !== 1 || res?.body?.length !== 1 || res?.hand?.length !== 1 || res?.gesture?.length !== 6) log('error', 'failed: warmup face result mismatch', res?.face?.length, res?.body?.length, res?.hand?.length, res?.gesture?.length);
|
if (!res || res?.face?.length !== 1 || res?.body?.length !== 1 || res?.hand?.length !== 1 || res?.gesture?.length !== 7) log('error', 'failed: warmup face result mismatch', res?.face?.length, res?.body?.length, res?.hand?.length, res?.gesture?.length);
|
||||||
else log('state', 'passed: warmup face result match');
|
else log('state', 'passed: warmup face result match');
|
||||||
config.warmup = 'body';
|
config.warmup = 'body';
|
||||||
res = await testWarmup(human, 'default');
|
res = await testWarmup(human, 'default');
|
||||||
|
|
1018
test/test.log
1018
test/test.log
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue