Add open_problem function
[gruntmaster-data.git] / t / Gruntmaster-Data.t
index ff3970190b72cc14dd58d99708257a8b184c4c81..0c77a410276fb3e0ce7b2111c08d6cac55a7aabe 100644 (file)
@@ -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'});
This page took 0.009872 seconds and 4 git commands to generate.