From: Matt Amos Date: Tue, 21 Oct 2008 14:00:08 +0000 (+0000) Subject: Added min_lat > max_lat test. X-Git-Tag: live~7609^2~248 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/417ded9da545299026b96f5f81f79897f8e3769b?ds=inline Added min_lat > max_lat test. --- diff --git a/test/functional/api_controller_test.rb b/test/functional/api_controller_test.rb index e9d1632da..4cd20d3dd 100644 --- a/test/functional/api_controller_test.rb +++ b/test/functional/api_controller_test.rb @@ -14,7 +14,7 @@ class ApiControllerTest < Test::Unit::TestCase @badbigbbox = %w{ -0.1,-0.1,1.1,1.1 10,10,11,11 } @badmalformedbbox = %w{ -0.1 hello S0.1,W0.1,N0.1,E0.1 10N2W10.1N2.1W } - @badlatmixedbbox = %w{} + @badlatmixedbbox = %w{ 0,0.1,0.1,0 } @badlonmixedbbox = %w{} @badlatlonoutboundsbbox = %w{ -190.2,-190.2,-190.1,-190.1 -190.1,89.9,-190,90 } @goodbbox = %w{ -0.1,-0.1,0.1,0.1 51.1,-0.1,51.2,0