Best to liberally sprinkle comments into the test to explain what we're expecting and why.
Explain my thoughts in one block before getting into @whot's comments in detail.
Due to the introduction of the filter, we need to add at least 2 new unit test cases to cover the corner cases: min_pressure falls below min_pressure_threshold when already in proximity and min_pressure is less than min_pressure_threshold when first time in proximity. One of your suggestions may require another unit test case to cover.
Explain my thoughts in one block before getting into @whot's comments in detail.
Due to the introduction of the filter, we need to add at least 2 new unit test cases to cover the corner cases: min_pressure falls below min_pressure_threshold when already in proximity and min_pressure is less than min_pressure_threshold when first time in proximity. One of your suggestions may require another unit test case to cover.