Skip to content

Commit

Permalink
Add test for intersections.
Browse files Browse the repository at this point in the history
  • Loading branch information
Schuyler Erle committed Jun 5, 2011
1 parent bf0af65 commit 9e3bd5b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ def test_state_street_together
result = @db.geocode({:region => "VA", :street => "14333 Lee Jackson Memorial Hwy"})
#assert_equal result[0][:precision],:range
end



def test_intersection
result = @db.geocode("Decatur St and Bryant St, San Francisco, CA 94103")
assert_equal result[0][:precision], :intersection
end

end

0 comments on commit 9e3bd5b

Please sign in to comment.