-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
| func Test_occupancyCentralTendency(t *testing.T) { |
The point of the two occupancy type tests is to get through the logic of getting the central tendency and the sample occupancy type logic without throwing a panic.
we could use recover to trap if a panic occurs. I believe this would have to be inside the loop for the occupancy types.
defer func() {
if r := recover(); r != nil {
t.Errorf("PAINC!")
}
}()