diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-11-07 20:43:20 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-11-07 20:43:20 +0100 |
commit | c5bbefa81be609cd9b4ee325d1c226489a020ca6 (patch) | |
tree | bdc106ca6f191c59e9c23b7afde30c68a8d2f91c /t | |
parent | a97807bf3659fc5e34ff6756d804b0d9e0edf5a3 (diff) |
EVI/UIC test
Diffstat (limited to 't')
-rw-r--r-- | t/21-iris-stations.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/21-iris-stations.t b/t/21-iris-stations.t index 1d50ca5..f68e5bb 100644 --- a/t/21-iris-stations.t +++ b/t/21-iris-stations.t @@ -4,7 +4,7 @@ use warnings; use 5.014; use utf8; -use Test::More tests => 14; +use Test::More tests => 15; BEGIN { use_ok('Travel::Status::DE::IRIS::Stations'); @@ -23,6 +23,12 @@ is_deeply( ); is_deeply( + [ Travel::Status::DE::IRIS::Stations::get_station(8000098) ], + [ [ 'EE', 'Essen Hbf', 8000098, 7.014793, 51.451355 ] ], + 'get_station: exact match by EVA/UIC works' +); + +is_deeply( [ Travel::Status::DE::IRIS::Stations::get_station('Essen Hbf') ], [ [ 'EE', 'Essen Hbf', 8000098, 7.014793, 51.451355 ] ], 'get_station: exact match by name works' |