From c5bbefa81be609cd9b4ee325d1c226489a020ca6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 7 Nov 2016 20:43:20 +0100 Subject: EVI/UIC test --- t/21-iris-stations.t | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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'); @@ -22,6 +22,12 @@ is_deeply( 'get_station: exact match by DS100 works' ); +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 ] ], -- cgit v1.2.3