Add more tests
This commit is contained in:
parent
feb756812d
commit
8272126024
1 changed files with 4 additions and 0 deletions
|
@ -19,4 +19,8 @@ func TestNewInseeDataValid(t *testing.T) {
|
|||
if insee.Gender != gender {
|
||||
t.Errorf("Gender KO. Got %s, expected %s", insee.Gender, gender)
|
||||
}
|
||||
year := 1969
|
||||
if insee.Year != year {
|
||||
t.Errorf("Year KO. Got %d, expected %d", insee.Year, year)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue