updated 区分伯侄和叔侄关系

This commit is contained in:
PASSER-BY
2023-02-24 23:42:23 +08:00
parent 84ad926d9a
commit fbbd224d4f
4 changed files with 7 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ test('[type:pair]', function (t) {
t.deepEqual(relationship({text:'舅妈',target:'哥哥',type:'pair'}),['舅甥']);
t.deepEqual(relationship({text:'舅妈',target:'外婆',type:'pair'}),['婆媳']);
t.deepEqual(relationship({text:'舅妈',target:'二舅',type:'pair'}),['叔嫂','夫妻']);
t.deepEqual(relationship({text:'堂哥',target:'叔叔',type:'pair'}),['叔侄','父子']);
t.deepEqual(relationship({text:'堂哥',target:'叔叔',type:'pair'}),['伯侄', '叔侄', '父子']);
t.end();
});
test('[age]', function (t) {