X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=t%2FGruntmaster-Data.t;h=0c77a410276fb3e0ce7b2111c08d6cac55a7aabe;hb=f7e9da17d2a51800b190c6475ef41a07af0d4e2f;hp=ff3970190b72cc14dd58d99708257a8b184c4c81;hpb=3ceb2ad025c6289bf36dc936a6ad2fa3d3d19aec;p=gruntmaster-data.git diff --git a/t/Gruntmaster-Data.t b/t/Gruntmaster-Data.t index ff39701..0c77a41 100644 --- a/t/Gruntmaster-Data.t +++ b/t/Gruntmaster-Data.t @@ -101,8 +101,13 @@ is_deeply $x->{results}, [], 'job_entry results'; $x = job_entry 7; ok !defined $x->{result}, 'job_entry 7 has NULL result'; +open_problem qw/fc fca MGV/, contest_entry('fc')->{start} + 300; + $x = standings 'fc'; + is_deeply $x, [ - {rank => 1, user => 'MGV', user_name => undef, score => 50, scores => [50]}, + {rank => 1, user => 'MGV', user_name => undef, score => 80, scores => [80]}, {rank => 2, user => 'nobody', user_name => undef, score => 40, scores => [40]}, ], 'standings fc'; + +db->delete('opens', {contest => 'fc', problem => 'fca', owner => 'MGV'});