updated 性别识别bug修复

This commit is contained in:
mumuy
2021-11-25 16:20:44 +08:00
parent d5b731dda3
commit fac0ddc0cc
3 changed files with 16 additions and 16 deletions

View File

@@ -20,6 +20,7 @@ test('relationship.js show to be tested', function (t) {
t.deepEqual(relationship({text:'堂兄弟的孩子',sex:1}),['堂侄','堂侄女']);
t.deepEqual(relationship({text:'岳母',target:'女儿',reverse:true}),['外孙女']);
t.deepEqual(relationship({text:'姑妈',target:'舅妈',reverse:true}),['兄弟眷兄妇','兄弟眷弟妇']);
t.deepEqual(relationship({text:'舅妈',target:'女儿',reverse:true}),['姑甥孙女','姑甥外孙女']);
t.end();
});