File Coverage

blib/lib/Geo/Coordinates/Converter/Datum/Tokyo.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod 0 4 0.0
total 21 25 84.0


line stmt bran cond sub pod time code
1             package Geo::Coordinates::Converter::Datum::Tokyo;
2 3     3   2368 use strict;
  3         6  
  3         118  
3 3     3   17 use warnings;
  3         5  
  3         98  
4 3     3   15 use parent 'Geo::Coordinates::Converter::Datum';
  3         6  
  3         21  
5              
6 12     12 0 46 sub name { 'tokyo' }
7 16     16 0 49 sub radius { 6377397.155 }
8             sub rate {
9 24     24 0 30 my $r = 1 / 299.152813;
10 24         92 2 * $r - $r * $r;
11             }
12 24     24 0 158 sub translation { +{ x => 148, y => -507, z => -681 } }
13              
14             1;
15              
16             __END__