gender is optional
This commit is contained in:
parent
195dc16f3d
commit
bec968ac26
2 changed files with 8 additions and 8 deletions
|
|
@ -44,10 +44,10 @@ fn test_bysize() {
|
|||
|
||||
#[test]
|
||||
fn test_si_pron() {
|
||||
assert_eq!("him", get_si_pron("acc", "them", "masculine"));
|
||||
assert_eq!("her", get_si_pron("acc", "them", "feminine"));
|
||||
assert_eq!("it", get_si_pron("acc", "them", "neuter"));
|
||||
assert_eq!("themselves", get_si_pron("acc", "itself", "themselves"));
|
||||
assert_ne!("him", get_si_pron("acc", "them", "feminine"));
|
||||
assert_ne!("her", get_si_pron("acc", "them", "masculine"));
|
||||
assert_eq!("him", get_si_pron("acc", "them", Some("masculine")));
|
||||
assert_eq!("her", get_si_pron("acc", "them", Some("feminine")));
|
||||
assert_eq!("it", get_si_pron("acc", "them", Some("neuter")));
|
||||
assert_eq!("themselves", get_si_pron("acc", "itself", None));
|
||||
assert_ne!("him", get_si_pron("acc", "them", Some("feminine")));
|
||||
assert_ne!("her", get_si_pron("acc", "them", Some("masculine")));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue