You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With recent updates to the formulas used to gather the correct distances from a user to a stored message or geolocation, we need to make sure that this is properly tested. This will also be useful for any future updates to our algorithms used for distance checking and nearby message retrieval. Make sure to use Jest for this, but if you have a better framework or proposal then please message a tech lead.
Test coordinates that should be within the bounds of a message retrieval radius, to see if the message is actually received by a client.
Test coordinates outside of this radius to make sure that these messages are not received.
Playing with obscure coordinates, large and small distances with different radii, etc are all welcome. We want to test this as thoroughly as possible.
Refer to previously made test code for a starting point. Please make sure to refer to this issue number when creating a PR.
The text was updated successfully, but these errors were encountered:
With recent updates to the formulas used to gather the correct distances from a user to a stored message or geolocation, we need to make sure that this is properly tested. This will also be useful for any future updates to our algorithms used for distance checking and nearby message retrieval. Make sure to use Jest for this, but if you have a better framework or proposal then please message a tech lead.
Playing with obscure coordinates, large and small distances with different radii, etc are all welcome. We want to test this as thoroughly as possible.
Refer to previously made test code for a starting point. Please make sure to refer to this issue number when creating a PR.
The text was updated successfully, but these errors were encountered: