Commit c5bbefa8 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

EVI/UIC test

parent a97807bf
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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 ] ],