Rails port/Testing/Units/OldNode
< Rails port | Testing(Redirected from Openstreetmap-website/Testing/Units/OldNode)
Jump to navigation
Jump to search
This page is for information about the old node unit tests.
Test function name | Fixture name | Description | Inside/Outside boundary |
---|---|---|---|
test_node_too_far_north | node_too_far_north | Checks to make sure that a node that has a latitude of 90.01 will be rejected | outside |
test_node_north_limit | node_north_limit | Checks to make sure that a node with latitude of 90 will be accepted | inside |
test_node_too_far_south | node_too_far_south | Check to make sure that a node that has a latitude of -90.01 will be rejected | outside |
test_node_south_limit | node_south_limit | Check to make sure that a node with latutude of -90 will be accepted | inside |
test_node_too_far_west | node_too_far_west | Checks to make sure that a node that has a longitude of -180.01 will be rejected | outside |
test_node_west_limit | node_west_limit | Checks to make sure that a node with longitude of -180 will be accepted | inside |
test_node_too_far_east | node_too_far_east | Checks to make sure that a node that has a longitude of 180.01 will be rejected | outside |
test_node_east_limit | node_east_limit | Checks to make sure that a node that has a longitude of 180 will be accepted | inside |
test_node_totally_wrong | node_totally_wrong | Checks to make sure that a node with a longitude and latitude of 200 will be rejected | outside |