summaryrefslogtreecommitdiff
path: root/t/01-lookup.t
diff options
context:
space:
mode:
Diffstat (limited to 't/01-lookup.t')
-rw-r--r--t/01-lookup.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/01-lookup.t b/t/01-lookup.t
new file mode 100644
index 0000000..937dca6
--- /dev/null
+++ b/t/01-lookup.t
@@ -0,0 +1,16 @@
+#!perl
+
+use Test::More tests => 1;
+use Data::Dumper;
+use Geo::USCensus::TIGERweb;
+
+diag( "Testing lookup of a census block" );
+my $result = Geo::USCensus::TIGERweb->census_block_at_point(
+ lat => 38.578793,
+ lon => -121.48778,
+ debug => 1,
+);
+
+ok( $result, 'Found a census block');
+diag($result);
+